Skip to content

Commit aab6ab0

Browse files
committed
Fix template
1 parent 3ce6eef commit aab6ab0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

components/kubernetes/nvidia/nvidia.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func initNvkindCluster(env config.Env, vm *remote.Host, name string, clusterOpts
216216
env.CommonNamer().ResourceName("nvkind-create"),
217217
&command.Args{
218218
Create: pulumi.Sprintf("nvkind cluster create --name %s --config-template %s --config-values %s", kindClusterName, nvkindTemplatePath, nvkindValuesPath),
219-
Delete: pulumi.Sprintf("kind cluster delete --name %s", kindClusterName),
219+
Delete: pulumi.Sprintf("kind delete clusters %s || true", kindClusterName),
220220
Triggers: pulumi.Array{nvkindValuesContent, pulumi.String(nvkindConfigTemplate)},
221221
},
222222
opts...)

components/kubernetes/nvidia/nvkind-config-template.yml

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ nodes:
4646
{{- end }}
4747
# We need to mount the /host/proc directory to access the host's /proc directory inside
4848
# of the agent container. Else we just get access to the process namespace of the docker container
49-
extraMounts:
5049
- hostPath: /proc
5150
containerPath: /host/proc
5251
{{- end }}

0 commit comments

Comments
 (0)