k8s.io/kubernetes@v1.29.3/test/e2e/testing-manifests/sample-device-plugin/sample-device-plugin-control-registration.yaml (about) 1 apiVersion: apps/v1 2 kind: DaemonSet 3 metadata: 4 name: sample-device-plugin-beta 5 namespace: kube-system 6 labels: 7 k8s-app: sample-device-plugin 8 spec: 9 selector: 10 matchLabels: 11 k8s-app: sample-device-plugin 12 template: 13 metadata: 14 labels: 15 k8s-app: sample-device-plugin 16 annotations: 17 spec: 18 priorityClassName: system-node-critical 19 tolerations: 20 - operator: "Exists" 21 effect: "NoExecute" 22 - operator: "Exists" 23 effect: "NoSchedule" 24 volumes: 25 - name: device-plugin 26 hostPath: 27 path: /var/lib/kubelet/device-plugins 28 - name: plugins-registry-probe-mode 29 hostPath: 30 path: /var/lib/kubelet/plugins_registry 31 - name: dev 32 hostPath: 33 path: /dev 34 containers: 35 - image: registry.k8s.io/e2e-test-images/sample-device-plugin:1.5 36 name: sample-device-plugin 37 env: 38 - name: PLUGIN_SOCK_DIR 39 value: "/var/lib/kubelet/device-plugins" 40 - name: REGISTER_CONTROL_FILE 41 value: "/var/lib/kubelet/device-plugins/sample/registration" 42 securityContext: 43 privileged: true 44 volumeMounts: 45 - name: device-plugin 46 mountPath: /var/lib/kubelet/device-plugins 47 - name: plugins-registry-probe-mode 48 mountPath: /var/lib/kubelet/plugins_registry 49 - name: dev 50 mountPath: /dev 51 updateStrategy: 52 type: RollingUpdate