mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-16 09:18:06 -05:00
Currently published image version doesn't include latest code changes, for example CDI support. Manifests include different and outdated image versions
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: sample-device-plugin-beta
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: sample-device-plugin
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: sample-device-plugin
|
|
template:
|
|
metadata:
|
|
labels:
|
|
k8s-app: sample-device-plugin
|
|
annotations:
|
|
spec:
|
|
priorityClassName: system-node-critical
|
|
tolerations:
|
|
- operator: "Exists"
|
|
effect: "NoExecute"
|
|
- operator: "Exists"
|
|
effect: "NoSchedule"
|
|
volumes:
|
|
- name: device-plugin
|
|
hostPath:
|
|
path: /var/lib/kubelet/device-plugins
|
|
- name: plugins-registry-probe-mode
|
|
hostPath:
|
|
path: /var/lib/kubelet/plugins_registry
|
|
- name: dev
|
|
hostPath:
|
|
path: /dev
|
|
- name: cdi-dir
|
|
hostPath:
|
|
path: /var/run/cdi
|
|
containers:
|
|
- image: registry.k8s.io/e2e-test-images/sample-device-plugin:1.7
|
|
name: sample-device-plugin
|
|
env:
|
|
- name: PLUGIN_SOCK_DIR
|
|
value: "/var/lib/kubelet/device-plugins"
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- name: device-plugin
|
|
mountPath: /var/lib/kubelet/device-plugins
|
|
- name: plugins-registry-probe-mode
|
|
mountPath: /var/lib/kubelet/plugins_registry
|
|
- name: dev
|
|
mountPath: /dev
|
|
- name: cdi-dir
|
|
mountPath: /var/run/cdi
|
|
updateStrategy:
|
|
type: RollingUpdate
|