1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 16:57:10 +00:00
node-feature-discovery/deployment/components/topology-updater/topologyupdater-mounts.yaml

29 lines
724 B
YAML
Raw Normal View History

- 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"