https://github.com/yeahdongcn/topology
https://github.com/yeahdongcn/topology
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yeahdongcn/topology
- Owner: yeahdongcn
- License: mit
- Created: 2024-04-24T09:02:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T02:13:31.000Z (over 1 year ago)
- Last Synced: 2025-04-05T00:05:48.484Z (over 1 year ago)
- Language: Go
- Size: 25.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# topology
## Usage
### Host
```bash
make
./topology -p ./test/topology1.conf -a tux0 -a tux1 -a tux2 -c 3
./topology -p ./test/topology1.conf -a tux0 -a tux1 -a tux2 -a tux5 -a tux6 -r tux4 -c 3
./topology -p ./test/topology2.conf -a tux0 -a tux1 -a tux2 -c 3
./topology -p ./test/topology3.conf -a worker001 -a worker003 -a worker085 -a worker129 -a worker130 -a worker131 -c 3
```
### Docker
```bash
docker run --pull=always -it --privileged --net=host r0ckstar/slurmibtopology:latest
docker run --pull=always -it --privileged --net=host --entrypoint /bin/bash r0ckstar/slurmibtopology:latest
```
### Kubernetes
```bash
kubectl apply -f k8s/deployment.yaml
```