We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 610747c commit 39f6617Copy full SHA for 39f6617
pkg/operator/operator/k8s.go
@@ -140,7 +140,7 @@ func TaskContainers(api *spec.API) ([]kcore.Container, []kcore.Volume) {
140
if api.Compute.GPU > 0 {
141
apiPodResourceList["nvidia.com/gpu"] = *kresource.NewQuantity(api.Compute.GPU, kresource.DecimalSI)
142
apiPodResourceLimitsList["nvidia.com/gpu"] = *kresource.NewQuantity(api.Compute.GPU, kresource.DecimalSI)
143
- } else {
+ } else if api.Compute.Inf > 0 {
144
volumes = append(volumes, kcore.Volume{
145
Name: "neuron-sock",
146
})
0 commit comments