mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-17 13:58:21 +00:00
22 lines
606 B
YAML
22 lines
606 B
YAML
|
- op: add
|
||
|
path: /spec/template/spec/volumes
|
||
|
value:
|
||
|
- name: host-sys
|
||
|
hostPath:
|
||
|
path: "/sys"
|
||
|
- name: kubelet-podresources-conf
|
||
|
hostPath:
|
||
|
path: /var/lib/kubelet/config.yaml
|
||
|
- name: kubelet-podresources-sock
|
||
|
hostPath:
|
||
|
path: /var/lib/kubelet/pod-resources/kubelet.sock
|
||
|
- op: add
|
||
|
path: /spec/template/spec/containers/0/volumeMounts
|
||
|
value:
|
||
|
- name: kubelet-podresources-conf
|
||
|
mountPath: /host-var/lib/kubelet/config.yaml
|
||
|
- name: kubelet-podresources-sock
|
||
|
mountPath: /host-var/lib/kubelet/pod-resources/kubelet.sock
|
||
|
- name: host-sys
|
||
|
mountPath: /host-sys
|