1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/deployment/components/topology-updater/topologyupdater-mounts.yaml
Markus Lehtonen c8a722b7c3 deployment/kustomize: drop pod-resources mount for topology-updater
This mount is redundant as it's already included in the kubelet state
files (/var/lib/kubelet) mount.
2023-05-04 11:06:55 +03:00

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"