From 6b45880237bfb1364947220cc10ead126324718e Mon Sep 17 00:00:00 2001 From: dciangot Date: Thu, 30 Nov 2023 14:29:08 +0100 Subject: [PATCH 1/2] demo complete --- .../interlink/config/InterLinkConfig.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/interlink-slurm/interlink/config/InterLinkConfig.yaml diff --git a/examples/interlink-slurm/interlink/config/InterLinkConfig.yaml b/examples/interlink-slurm/interlink/config/InterLinkConfig.yaml new file mode 100644 index 00000000..1f0c66b3 --- /dev/null +++ b/examples/interlink-slurm/interlink/config/InterLinkConfig.yaml @@ -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 From 35bcf8559111f61c9e9d904645e9777681b46bdb Mon Sep 17 00:00:00 2001 From: dciangot Date: Thu, 30 Nov 2023 14:29:40 +0100 Subject: [PATCH 2/2] correct readme --- examples/interlink-slurm/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/interlink-slurm/README.md b/examples/interlink-slurm/README.md index 51c40ed2..ac98a7f6 100644 --- a/examples/interlink-slurm/README.md +++ b/examples/interlink-slurm/README.md @@ -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__