Skip to content

Commit

Permalink
Merge pull request #123 from interTwin-eu/test_vega
Browse files Browse the repository at this point in the history
Test example demo in local
  • Loading branch information
dciangot authored Nov 30, 2023
2 parents 8207bc5 + 35bcf85 commit 7c6e62b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/interlink-slurm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ mkdir -p interlink/config

cp $PATH_TO_KUBECONFIG interlink/config/kubeconfig.yaml
sed 's/certificate-authority:.*/certificate-authority-data: '$CA_DATA'/g' $PATH_TO_KUBECONFIG | sed 's/client-certificate:.*/client-certificate-data: '$CERT_DATA'/g' - | sed 's/client-key:.*/client-key-data: '$KEY_DATA'/g' - > interlink/config/kubeconfig.yaml

chmod 777 interlink/config/kubeconfig.yaml
```

Then you need to provide the interLink IP address that should be reachable from the kubernetes pods. In case of this demo setup, that address __is the address of your machine__
Expand Down
19 changes: 19 additions & 0 deletions examples/interlink-slurm/interlink/config/InterLinkConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
VKTokenFile: "$HOME/interLink/token"
InterlinkURL: "http://10.25.127.213"
SidecarURL: "http://10.25.127.213"
InterlinkPort: "3000"
SidecarPort: "4000"
SbatchPath: "/usr/bin/sbatch"
ScancelPath: "/usr/bin/scancel"
SqueuePath: "/usr/bin/squeue"
CommandPrefix: ""
ExportPodData: true
DataRootFolder: ".local/interlink/jobs/"
ServiceAccount: "interlink"
Namespace: "vk"
Tsocks: false
TsocksPath: "$WORK/tsocks-1.8beta5+ds1/libtsocks.so"
TsocksLoginNode: "login01"
BashPath: /bin/bash
VerboseLogging: true
ErrorsOnlyLogging: false

0 comments on commit 7c6e62b

Please sign in to comment.