File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -386,9 +386,9 @@ func userPodContainers(api spec.API) ([]kcore.Container, []kcore.Volume) {
386
386
387
387
if container .Compute .Inf > 0 {
388
388
totalHugePages := container .Compute .Inf * _hugePagesMemPerInf
389
- containerResourceList ["nvidia. com/gpu " ] = * kresource .NewQuantity (container .Compute .Inf , kresource .DecimalSI )
389
+ containerResourceList ["aws.amazon. com/neuron " ] = * kresource .NewQuantity (container .Compute .Inf , kresource .DecimalSI )
390
390
containerResourceList ["hugepages-2Mi" ] = * kresource .NewQuantity (totalHugePages , kresource .BinarySI )
391
- containerResourceLimitsList ["nvidia. com/gpu " ] = * kresource .NewQuantity (container .Compute .Inf , kresource .DecimalSI )
391
+ containerResourceLimitsList ["aws.amazon. com/neuron " ] = * kresource .NewQuantity (container .Compute .Inf , kresource .DecimalSI )
392
392
containerResourceLimitsList ["hugepages-2Mi" ] = * kresource .NewQuantity (totalHugePages , kresource .BinarySI )
393
393
394
394
securityContext .Capabilities = & kcore.Capabilities {
You can’t perform that action at this time.
0 commit comments