Skip to content

Commit 61bb2f9

Browse files
committed
feat: add additional steps
1 parent baffa25 commit 61bb2f9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,30 @@ kubectl -n kube-system patch secret civo-node-agent -n kube-system --type='merge
1919
-p='{"stringData": {"civo-api-key": "'"$CIVO_API_KEY"'", "node-pool-id": "'"$CIVO_NODE_POOL_ID"'", "desired-gpu-count": "'"$CIVO_DESIRED_GPU_COUNT"'", "time-window": "'"$CIVO_NODE_REBOOT_TIME_WINDOW_MINUTES"'" }}'
2020
```
2121

22+
## Nvidia Device Plugin Install
23+
24+
```bash
25+
kubectl create ns gpu-operator
26+
kubectl label namespace gpu-operator pod-security.kubernetes.io/enforce=privileged
27+
kubectl label namespace gpu-operator pod-security.kubernetes.io/warn=privileged
28+
kubectl label namespace gpu-operator pod-security.kubernetes.io/audit=privileged
29+
```
30+
31+
```bash
32+
helm repo add nvdp https://nvidia.github.io/k8s-device-plugin \
33+
&& helm repo update
34+
```
35+
36+
```bash
37+
helm install --namespace gpu-operator nvidia-device-plugin nvdp/nvidia-device-plugin --create-namespace \
38+
--version=0.17.0 \
39+
--set gfd.enabled=true \
40+
--set devicePlugin.enabled=true \
41+
--set dcgm.enabled=true \
42+
--set nfd.enableNodeFeatureApi=true \
43+
--wait
44+
```
45+
2246
## Install `node-agent` chart
2347

2448
```bash
@@ -35,6 +59,7 @@ The following configurations are stored in the `node-agent` secret in the `kube-
3559

3660
`civo-api-key`: The civo api key to use when automatically rebooting nodes. To collect this value, go to toue [civo settings security tab](https://dashboard.civo.com/security).
3761

62+
`time-window`: The time-window is the time we need to give a node after a reboot happens
3863

3964
## Temp details until CI is complete
4065

0 commit comments

Comments
 (0)