Merge pull request #81031 from chuckha/kubeadm-docs
kubeadm: Fix some documentation errors
This commit is contained in:
		| @@ -222,7 +222,7 @@ type NodeRegistrationOptions struct { | |||||||
|  |  | ||||||
| 	// 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 | 	// 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 []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an | 	// it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an | ||||||
| 	// empty slice, i.e. `taints: {}` in the YAML file. This field is solely used for Node registration. | 	// empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration. | ||||||
| 	Taints []v1.Taint | 	Taints []v1.Taint | ||||||
|  |  | ||||||
| 	// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file | 	// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file | ||||||
|   | |||||||
| @@ -204,7 +204,7 @@ type NodeRegistrationOptions struct { | |||||||
|  |  | ||||||
| 	// 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 | 	// 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 []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an | 	// it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an | ||||||
| 	// empty slice, i.e. `taints: {}` in the YAML file. This field is solely used for Node registration. | 	// empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration. | ||||||
| 	Taints []v1.Taint `json:"taints,omitempty"` | 	Taints []v1.Taint `json:"taints,omitempty"` | ||||||
|  |  | ||||||
| 	// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file | 	// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file | ||||||
|   | |||||||
| @@ -173,7 +173,7 @@ limitations under the License. | |||||||
| // 	    value: "master" | // 	    value: "master" | ||||||
| // 	    effect: "NoSchedule" | // 	    effect: "NoSchedule" | ||||||
| // 	  kubeletExtraArgs: | // 	  kubeletExtraArgs: | ||||||
| // 	    cgroupDriver: "cgroupfs" | // 	    cgroup-driver: "cgroupfs" | ||||||
| //	  ignorePreflightErrors: | //	  ignorePreflightErrors: | ||||||
| //	  - IsPrivilegedUser | //	  - IsPrivilegedUser | ||||||
| // 	localAPIEndpoint: | // 	localAPIEndpoint: | ||||||
|   | |||||||
| @@ -202,7 +202,7 @@ type NodeRegistrationOptions struct { | |||||||
|  |  | ||||||
| 	// 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 | 	// 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 []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an | 	// it will be defaulted to []v1.Taint{'node-role.kubernetes.io/master=""'}. If you don't want to taint your control-plane node, set this field to an | ||||||
| 	// empty slice, i.e. `taints: {}` in the YAML file. This field is solely used for Node registration. | 	// empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration. | ||||||
| 	Taints []v1.Taint `json:"taints"` | 	Taints []v1.Taint `json:"taints"` | ||||||
|  |  | ||||||
| 	// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file | 	// KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command line via the environment file | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot