fix typo kubeadm joiń -> kubeadm join

pull/564/head
cqy0532 2019-02-26 17:26:41 +08:00
parent 4b8ecd68f3
commit 0a0fea60a0
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ type APIEndpoint struct {
// NodeRegistrationOptions holds fields that relate to registering a new control-plane or node to the cluster, either via "kubeadm init" or "kubeadm join" // NodeRegistrationOptions holds fields that relate to registering a new control-plane or node to the cluster, either via "kubeadm init" or "kubeadm join"
type NodeRegistrationOptions struct { type NodeRegistrationOptions struct {
// Name is the `.Metadata.Name` field of the Node API object that will be created in this `kubeadm init` or `kubeadm joiń` operation. // Name is the `.Metadata.Name` field of the Node API object that will be created in this `kubeadm init` or `kubeadm join` operation.
// This field is also used in the CommonName field of the kubelet's client certificate to the API server. // This field is also used in the CommonName field of the kubelet's client certificate to the API server.
// Defaults to the hostname of the node if not provided. // Defaults to the hostname of the node if not provided.
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`