Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add additional steps #18

Merged
merged 3 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,30 @@ kubectl -n kube-system patch secret civo-node-agent -n kube-system --type='merge
-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"'" }}'
```

## Nvidia Device Plugin Install

```bash
kubectl create ns gpu-operator
kubectl label namespace gpu-operator pod-security.kubernetes.io/enforce=privileged
kubectl label namespace gpu-operator pod-security.kubernetes.io/warn=privileged
kubectl label namespace gpu-operator pod-security.kubernetes.io/audit=privileged
```

```bash
helm repo add nvdp https://nvidia.github.io/k8s-device-plugin \
&& helm repo update
```

```bash
helm install --namespace gpu-operator nvidia-device-plugin nvdp/nvidia-device-plugin --create-namespace \
--version=0.17.0 \
--set gfd.enabled=true \
--set devicePlugin.enabled=true \
--set dcgm.enabled=true \
--set nfd.enableNodeFeatureApi=true \
--wait
```

## Install `node-agent` chart

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

`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).

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

## Temp details until CI is complete

Expand Down
4 changes: 2 additions & 2 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ replicaCount: 1


image:
repository: jokesta/na
repository: civo/node-agent
pullPolicy: IfNotPresent
tag: "0.27"
tag: "3aba5ca"

imagePullSecrets: []
nameOverride: ""
Expand Down