Add labels

This commit is contained in:
2023-03-30 14:54:28 +02:00
parent 791ad96849
commit b46d35c8a5
2 changed files with 21 additions and 0 deletions

View File

@@ -9,3 +9,13 @@ kubelet-arg: "--node-ip=0.0.0.0"
{% else %}
node-ip: {{ nodeip_ipv4 }}
{% endif %}
## Label
# Region & DC
node-label:
{% if region is defined %}
- topology.kubernetes.io/region={{ region }}
{% endif %}
{% if zone is defined %}
- topology.kubernetes.io/zone={{ zone }}
{% endif %}