mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-12 19:57:11 +00:00
The base should really have the very bare minimum. Remove all redundant (at default-value) args and move the others to the specific topologyupdater kustomize component. This also makes these settings re-usable in user-specific overlays (that are not based on topologyupdater-daemonset).
30 lines
872 B
YAML
30 lines
872 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
|
|
|
|
- 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
|
|
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: "-kubelet-config-file=/host-var/lib/kubelet/config.yaml"
|
|
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/args/-
|
|
value: "-podresources-socket=/host-var/lib/kubelet/pod-resources/kubelet.sock"
|