kubernetes: add node labels customization
Sem-Ver: feature
Change-Id: I3bd826872bf9511170072810b4f24b6ced2ff0de
diff --git a/roles/kubernetes/defaults/main.yml b/roles/kubernetes/defaults/main.yml
index 7e0d154..c73d385 100644
--- a/roles/kubernetes/defaults/main.yml
+++ b/roles/kubernetes/defaults/main.yml
@@ -54,3 +54,19 @@
kubernetes_control_plane_group: controllers
# ]]]
+# .. envvar:: kubernetes_control_plane_group [[[
+#
+# Labels to apply for all control plane nodes
+kubernetes_control_plane_labels:
+ openstack-control-plane: enabled
+ openvswitch: enabled
+
+ # ]]]
+# .. envvar:: kubernetes_compute_node_labels [[[
+#
+# Labels to apply for all compute nodes
+kubernetes_compute_node_labels:
+ openstack-compute-node: enabled
+ openvswitch: enabled
+
+ # ]]]