apiVersion: apps/v1 kind: DaemonSet metadata: name: amdgpu-device-plugin-daemonset namespace: kube-system spec: selector: matchLabels: name: amdgpu-dp-ds template: metadata: labels: name: amdgpu-dp-ds spec: nodeSelector: kubernetes.io/arch: amd64 amdgpu: "true" priorityClassName: system-node-critical tolerations: - key: CriticalAddonsOnly operator: Exists containers: - image: rocm/k8s-device-plugin name: amdgpu-dp-cntr securityContext: allowPrivilegeEscalation: false capabilities: drop: ["ALL"] volumeMounts: - name: dp mountPath: /var/lib/kubelet/device-plugins - name: sys mountPath: /sys volumes: - name: dp hostPath: path: /var/lib/kubelet/device-plugins - name: sys hostPath: path: /sys