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 39f6617 commit b82abd3Copy full SHA for b82abd3
pkg/operator/operator/k8s.go
@@ -166,6 +166,13 @@ func TaskContainers(api *spec.API) ([]kcore.Container, []kcore.Volume) {
166
}
167
168
containers = append(containers, neuronContainer)
169
+ } else {
170
+ if api.Compute.CPU != nil {
171
+ apiPodResourceList[kcore.ResourceCPU] = api.Compute.CPU.DeepCopy()
172
+ }
173
+ if api.Compute.Mem != nil {
174
+ apiPodResourceList[kcore.ResourceMemory] = api.Compute.Mem.DeepCopy()
175
176
177
178
containers = append(containers, kcore.Container{
0 commit comments