1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-16 21:38:23 +00:00
node-feature-discovery/deployment/components/topology-updater/topologyupdater-mounts.yaml
Talor Itzhak 8b5918a2e9 kustomize: topology-updater: enable the configuration via kustomization
Add a kustomization file with a config example for the exclude-list.

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
2022-11-21 21:31:14 +02:00

32 lines
947 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
- name: nfd-topology-updater-conf
configMap:
name: nfd-topology-updater-conf
- 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
- name: nfd-topology-updater-conf
mountPath: "/etc/kubernetes/node-feature-discovery"
readOnly: true
- op: add
path: /spec/template/spec/containers/0/args/-
value: "-podresources-socket=/host-var/lib/kubelet/pod-resources/kubelet.sock"