remove gpu from containers
This commit is contained in:
parent
e399f3405a
commit
2ef92745e0
2 changed files with 2 additions and 10 deletions
|
@ -4,8 +4,6 @@ metadata:
|
||||||
name: rocky-linux
|
name: rocky-linux
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
intel.feature.node.kubernetes.io/gpu: "true"
|
|
||||||
containers:
|
containers:
|
||||||
- name: rocky
|
- name: rocky
|
||||||
image: rockylinux:9
|
image: rockylinux:9
|
||||||
|
@ -15,9 +13,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
gpu.intel.com/i915: 1
|
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
gpu.intel.com/i915: 1
|
memory: 4000Mi
|
||||||
memory: 8000Mi
|
|
||||||
|
|
|
@ -4,8 +4,6 @@ metadata:
|
||||||
name: ubuntu
|
name: ubuntu
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
|
||||||
intel.feature.node.kubernetes.io/gpu: "true"
|
|
||||||
containers:
|
containers:
|
||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
|
@ -15,9 +13,7 @@ spec:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
gpu.intel.com/i915: 1
|
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
gpu.intel.com/i915: 1
|
memory: 4000Mi
|
||||||
memory: 8000Mi
|
|
||||||
|
|
Reference in a new issue