[#699] split k8s platform body of work out of PFVCluster

Framework enforcement layer adopted; shellcheck clean; real kubeconfigs
gitignored (example only in repo). Provenance: PFVCluster/k8s.
https://projects.knownelement.com/issues/699#note-4536
This commit is contained in:
2026-09-05 05:17:28 -05:00
commit a71a12ad61
31 changed files with 1954 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# nvidia GPU device-plugin DaemonSet — pfv-k8s-wnode-tsys3 (Quadro M2000M 4G)
# GPU verified end-to-end 2026-09-04 (#763/#769): pod with nvidia.com/gpu:1
# schedules + nvidia-smi works in-container (driver 550.163.01, CUDA 12.4).
# Prereq on the node: nvidia driver + nvidia-container-runtime (k3s).
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: nvidia-device-plugin-daemonset
namespace: kube-system
spec:
selector:
matchLabels:
name: nvidia-device-plugin-ds
template:
metadata:
labels:
name: nvidia-device-plugin-ds
spec:
nodeSelector:
kubernetes.io/hostname: pfv-k8s-wnode-tsys3
tolerations:
- key: CriticalAddonsOnly
operator: Exists
containers:
- name: nvidia-device-plugin-ctr
image: nvcr.io/nvidia/k8s-device-plugin:v0.17.0
args: ["--fail-on-init-error=false"]
volumeMounts:
- name: device-plugin
mountPath: /var/lib/kubelet/device-plugins
volumes:
- name: device-plugin
hostPath:
path: /var/lib/kubelet/device-plugins