Arian van Putten
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
docs/vars.md
|
@ -136,14 +136,12 @@ Stack](https://github.com/kubernetes-sigs/kubespray/blob/master/docs/dns-stack.m |
|
|
[kubelet-rubber-stamp](https://github.com/kontena/kubelet-rubber-stamp). |
|
|
[kubelet-rubber-stamp](https://github.com/kontena/kubelet-rubber-stamp). |
|
|
* *node_labels* - Labels applied to nodes via kubelet --node-labels parameter. |
|
|
* *node_labels* - Labels applied to nodes via kubelet --node-labels parameter. |
|
|
For example, labels can be set in the inventory as variables or more widely in group_vars. |
|
|
For example, labels can be set in the inventory as variables or more widely in group_vars. |
|
|
*node_labels* can be defined either as a dict or a comma-separated labels string: |
|
|
|
|
|
|
|
|
*node_labels* can only be defined as a dict: |
|
|
|
|
|
|
|
|
```yml |
|
|
```yml |
|
|
node_labels: |
|
|
node_labels: |
|
|
label1_name: label1_value |
|
|
label1_name: label1_value |
|
|
label2_name: label2_value |
|
|
label2_name: label2_value |
|
|
|
|
|
|
|
|
node_labels: "label1_name=label1_value,label2_name=label2_value" |
|
|
|
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
* *node_taints* - Taints applied to nodes via kubelet --register-with-taints parameter. |
|
|
* *node_taints* - Taints applied to nodes via kubelet --register-with-taints parameter. |
|
|