mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +00:00
This mount is needed for watching the state files Signed-off-by: Talor Itzhak <titzhak@redhat.com>
33 lines
930 B
YAML
33 lines
930 B
YAML
- op: add
|
|
path: /spec/template/spec/volumes
|
|
value:
|
|
- name: host-sys
|
|
hostPath:
|
|
path: "/sys"
|
|
- name: kubelet-podresources-sock
|
|
hostPath:
|
|
path: /var/lib/kubelet/pod-resources/kubelet.sock
|
|
- name: nfd-topology-updater-conf
|
|
configMap:
|
|
name: nfd-topology-updater-conf
|
|
- name: kubelet-state-files
|
|
hostPath:
|
|
path: /var/lib/kubelet
|
|
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/volumeMounts
|
|
value:
|
|
- name: kubelet-podresources-sock
|
|
mountPath: /host-var/lib/kubelet/pod-resources/kubelet.sock
|
|
- name: host-sys
|
|
mountPath: /host-sys
|
|
- name: nfd-topology-updater-conf
|
|
mountPath: "/etc/kubernetes/node-feature-discovery"
|
|
readOnly: true
|
|
- name: kubelet-state-files
|
|
mountPath: /host-var/lib/kubelet
|
|
readOnly: true
|
|
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: "-podresources-socket=/host-var/lib/kubelet/pod-resources/kubelet.sock"
|