From 7fe0b87d838bc3c1d7d298ad41ddd692d9674ddb Mon Sep 17 00:00:00 2001 From: Ilya Margolin Date: Wed, 9 Nov 2022 13:46:12 +0100 Subject: [PATCH] Fix docs for node_labels (#9471) --- docs/vars.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vars.md b/docs/vars.md index b3f26945d..7680ab2b5 100644 --- a/docs/vars.md +++ b/docs/vars.md @@ -218,7 +218,7 @@ Stack](https://github.com/kubernetes-sigs/kubespray/blob/master/docs/dns-stack.m By default the `kubelet_secure_addresses` is set with the `10.0.0.110` the ansible control host uses `eth0` to connect to the machine. In case you want to use `eth1` as the outgoing interface on which `kube-apiserver` connects to the `kubelet`s, you should override the variable in this way: `kubelet_secure_addresses: "192.168.1.110"`. -* *node_labels* - Labels applied to nodes via kubelet --node-labels parameter. +* *node_labels* - Labels applied to nodes via `kubectl label node`. For example, labels can be set in the inventory as variables or more widely in group_vars. *node_labels* can only be defined as a dict: