mirror of https://github.com/kubernetes/kops.git
Fix no-schedule issue for the GPU operator
This commit is contained in:
parent
7759c754cb
commit
d196efcb82
19
docs/gpu.md
19
docs/gpu.md
|
@ -41,22 +41,37 @@ In order to match the kOps environment, create a `values.yaml` file with the fol
|
||||||
operator:
|
operator:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kops.k8s.io/instancegroup: gpu-nodes
|
kops.k8s.io/instancegroup: gpu-nodes
|
||||||
|
tolerations:
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
|
|
||||||
driver:
|
driver:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kops.k8s.io/instancegroup: gpu-nodes
|
kops.k8s.io/instancegroup: gpu-nodes
|
||||||
|
tolerations:
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
|
|
||||||
toolkit:
|
toolkit:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kops.k8s.io/instancegroup: gpu-nodes
|
kops.k8s.io/instancegroup: gpu-nodes
|
||||||
|
tolerations:
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
|
|
||||||
devicePlugin:
|
devicePlugin:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kops.k8s.io/instancegroup: gpu-nodes
|
kops.k8s.io/instancegroup: gpu-nodes
|
||||||
|
tolerations:
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
|
|
||||||
dcgmExporter:
|
dcgmExporter:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kops.k8s.io/instancegroup: gpu-nodes
|
kops.k8s.io/instancegroup: gpu-nodes
|
||||||
|
tolerations:
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
|
|
||||||
gfd:
|
gfd:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
@ -64,12 +79,14 @@ gfd:
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: nvidia.com/gpu
|
- key: nvidia.com/gpu
|
||||||
operator: Exists
|
operator: Exists
|
||||||
effect: NoSchedule
|
|
||||||
|
|
||||||
node-feature-discovery:
|
node-feature-discovery:
|
||||||
worker:
|
worker:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kops.k8s.io/instancegroup: gpu-nodes
|
kops.k8s.io/instancegroup: gpu-nodes
|
||||||
|
tolerations:
|
||||||
|
- key: nvidia.com/gpu
|
||||||
|
operator: Exists
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you have installed the the _helm chart_ you should be able to see the GPU operator resources being spawned in the `gpu-operator-resources` namespace.
|
Once you have installed the the _helm chart_ you should be able to see the GPU operator resources being spawned in the `gpu-operator-resources` namespace.
|
||||||
|
|
Loading…
Reference in New Issue