1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 16:27:05 +00:00
node-feature-discovery/deployment/components/topology-updater/env.yaml
Markus Lehtonen 1200fd05c5 topology-updater: use node IP in the default configz URI
Use a separate NODE_ADDRESS environment variable in the default value of
-kubelet-config-uri (instead of NODE_NAME that was previously used).
Also change the kustomize and Helm deployments to set this variable to
node IP address. This should make the default deployment more robust,
making it work in scenarios where node name does not resolve to the node
ip, e.g. nodename != hostname.
2023-05-05 13:29:51 +03:00

7 lines
163 B
YAML

- op: add
path: "/spec/template/spec/containers/0/env/-"
value:
name: NODE_ADDRESS
valueFrom:
fieldRef:
fieldPath: status.hostIP