From 10ae8386ee9dfc0ca06566b52908d1f439a6f8a3 Mon Sep 17 00:00:00 2001
From: Qiming Teng kubeadm init run.
tlsBootstrapToken is a token used for TLS bootstrapping.
-If bootstrapToken is set, this field is defaulted to .bootstrapToken.token, but can be overridden. If file is set, this field must be set in case the KubeConfigFile does not
+If bootstrapToken is set, this field is defaulted to .bootstrapToken.token,
+but can be overridden.
+If file is set, this field must be set in case the KubeConfigFile does not
contain any other authentication information.
string
criSocket is used to retrieve container runtime information. This information will
+ criSocket is used to retrieve container runtime information. This information will
be annotated to the Node API object, for later re-use.
taints specifies the taints the Node API object should be registered with.
-If this field is unset, i.e. nil, in the kubeadm init process it will be defaulted to
-'node-role.kubernetes.io/master=""'. If you don't want to taint your control-plane node,
-set this field to an empty list, i.e. taints: [] in the YAML file. This field is
+If this field is unset, i.e. nil, in the kubeadm init process it will be defaulted with
+a control-plane taint for control-plane nodes. If you don't want to taint your control-plane
+node, set this field to an empty list, i.e. taints: [], in the YAML file. This field is
solely used for Node registration.
kubeadm init run.
criSocket: "/var/run/dockershim.sock"
taints:
- key: "kubeadmNode"
- value: "master"
+ value: "someValue"
effect: "NoSchedule"
kubeletExtraArgs:
v: 4
@@ -1160,9 +1160,9 @@ This information will be annotated to the Node API object, for later re-use
tains specifies the taints the Node API object should be registered with.
-If this field is unset, i.e. nil, in the kubeadm init process it will be defaulted to
-taints: ["node-role.kubernetes.io/master:""].
-If you don't want to taint your control-plane node, set this field to an empty slice,
+If this field is unset, i.e. nil, in the kubeadm init process it will be defaulted
+with a control-plane taint for control-plane nodes.
+If you don't want to taint your control-plane node, set this field to an empty list,
i.e. taints: [] in the YAML file. This field is solely used for Node registration.