mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-17 13:58:21 +00:00
27 lines
771 B
YAML
27 lines
771 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
|
|
|
|
- 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
|
|
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: "-podresources-socket=/host-var/lib/kubelet/pod-resources/kubelet.sock"
|