mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 08:20:23 +00:00
c4f79d455f
As kubernetes 1.24.0 is released, updating kubernetes dependencies to 1.24.0 updates: #3086 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
51 lines
1.3 KiB
YAML
51 lines
1.3 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
|
|
containers:
|
|
- image: k8s.gcr.io/e2e-test-images/sample-device-plugin:1.3
|
|
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
|
|
updateStrategy:
|
|
type: RollingUpdate
|