mirror of
https://github.com/puppetmaster/typhoon.git
synced 2025-07-21 13:21:36 +02:00
Add node_labels variable in workers modules to set initial node labels (#550)
* Also add `worker_node_labels` variable in `kubernetes` modules to set initial node labels for the default workers
This commit is contained in:
committed by
Dalton Hubble
parent
8703f2c3c5
commit
99ab81f79c
@ -61,6 +61,9 @@ systemd:
|
||||
--lock-file=/var/run/lock/kubelet.lock \
|
||||
--network-plugin=cni \
|
||||
--node-labels=node.kubernetes.io/node \
|
||||
%{ for label in split(",", node_labels) }
|
||||
--node-labels=${label} \
|
||||
%{ endfor ~}
|
||||
--pod-manifest-path=/etc/kubernetes/manifests \
|
||||
--read-only-port=0 \
|
||||
--volume-plugin-dir=/var/lib/kubelet/volumeplugins
|
||||
|
Reference in New Issue
Block a user