mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
c8a722b7c3
This mount is redundant as it's already included in the kubelet state files (/var/lib/kubelet) mount.
28 lines
724 B
YAML
28 lines
724 B
YAML
- op: add
|
|
path: /spec/template/spec/volumes
|
|
value:
|
|
- name: host-sys
|
|
hostPath:
|
|
path: "/sys"
|
|
- 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: 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"
|