You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -65,15 +85,12 @@ It is possible to specify Annotations when submitting Pods to the K8S cluster. A
65
85
| slurm-job.vk.io/flags | Used to specify SLURM flags. These flags will be added to the SLURM script in the form of #SBATCH flag1, #SBATCH flag2, etc |
66
86
| slurm-job.vk.io/mpi-flags | Used to prepend "mpiexec -np $SLURM_NTASKS \*flags\*" to the Singularity Execution |
67
87
68
-
### :wrench: InterLink Config file
88
+
### :gear: Explanation of the SLURM Config file
69
89
70
-
Detailed explanation of the InterLink config file key values. Edit the config file before running the binary or before
90
+
Detailed explanation of the SLURM config file key values. Edit the config file before running the binary or before
71
91
building the docker image (`docker compose up -d --build --force-recreate` will recreate and re-run the updated image)
72
92
| Key | Value |
73
93
|--------------|-----------|
74
-
| InterlinkURL | the URL to allow the Virtual Kubelet to contact the InterLink module. |
75
-
| SidecarURL | the URL to allow InterLink to communicate with the Sidecar module (docker, slurm, etc). Do not specify port here |
76
-
| InterlinkPort | the Interlink listening port. InterLink and VK will communicate over this port. |
77
94
| SidecarPort | the sidecar listening port. Sidecar and Interlink will communicate on this port. Set $SIDECARPORT environment variable to specify a custom one |
78
95
| SbatchPath | path to your Slurm's sbatch binary |
79
96
| ScancelPath | path to your Slurm's scancel binary |
@@ -91,19 +108,14 @@ building the docker image (`docker compose up -d --build --force-recreate` will
91
108
### :wrench: Environment Variables list
92
109
93
110
Here's the complete list of every customizable environment variable. When specified, it overwrites the listed key
94
-
within the InterLink config file.
111
+
within the SLURM config file.
95
112
96
113
| Env | Value |
97
114
|--------------|-----------|
98
-
| VK_CONFIG_PATH | VK config file path |
99
-
| INTERLINKURL | the URL to allow the Virtual Kubelet to contact the InterLink module. Do not specify a port here. Overwrites InterlinkURL. |
100
-
| INTERLINKPORT | the InterLink listening port. InterLink and VK will communicate over this port. Overwrites InterlinkPort. |
101
-
| INTERLINKCONFIGPATH | your InterLink config file path. Default is `./kustomizations/InterLinkConfig.yaml`|
102
-
| SIDECARURL | the URL to allow InterLink to communicate with the Sidecar module (docker, slurm, etc). Do not specify port here. Overwrites SidecarURL. |
115
+
| SLURMCONFIGPATH | your SLURM config file path. Default is `/etc/interlink/SlurmConfig.yaml` |
103
116
| SIDECARPORT | the Sidecar listening port. Docker default is 4000, Slurm default is 4001. |
104
117
| SBATCHPATH | path to your Slurm's sbatch binary. Overwrites SbatchPath. |
105
118
| SCANCELPATH | path to your Slurm's scancel binary. Overwrites ScancelPath. |
106
-
| VKTOKENFILE | path to a file containing your token fot OAuth2 proxy authentication. Overwrites VKTokenFile. |
107
119
| SHARED_FS | set this env to "true" to save configmaps values inside files directly mounted to Singularity containers instead of using ENVS to create them later |
108
120
| CUSTOMKUBECONF | path to a service account kubeconfig |
109
121
| TSOCKS | true or false, to use tsocks library allowing proxy networking. Working on Slurm sidecar at the moment. Overwrites Tsocks. |
0 commit comments