kubeadmjoin127.0.0.1:6443--token abcdef.0123456789abcdef \--discovery-token-ca-cert-hash sha256:ed09a75d84bfbb751462262757310d0cf3d015eaa45680130be1d383245354f8 \--control-plane --certificate-key 93cb0d7b46ba4ac64c6ffd2e9f022cc5f22bea81acd264fb4e1f6150489cd07a \--apiserver-advertise-address...
[mark-control-plane] Marking the node k8s-master as control-plane by adding the labels: [node-role.kubernetes.io/control-plane node.kubernetes.io/exclude-from-external-load-balancers] [mark-control-plane] Marking the node k8s-master as control-plane by adding the taints [node-role.kubernetes....
[control-plane] Creating static Pod manifest for "kube-scheduler" [etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests" [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can ...
执行某个 phase 或者跳过某个 phase sudo kubeadm init phase control-plane all --config=configfile.yaml sudo kubeadm init phase etcd local --config=configfile.yaml # you can now modify the control plane and etcd manifest files sudo kubeadm init --skip-phases=control-plane,etcd --config=configf...
kubeadm init --control-plane-endpoint “LOAD_BALANCER_DNS:LOAD_BALANCER_PORT” --upload-certs 初始化成功: [kubelet-finalize] Updating “/etc/kubernetes/kubelet.conf” to point to a rotatable kubelet client certificate and key [addons] Applied essential addon: CoreDNS [endpoint] WARNING: port spe...
kubeadm init phase control-plane all --config kubeadm_master02.conf 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. #查看节点状态 [root@k8s-master02 ~]# kubectl get nodes NAME STATUS ROLES AGE VERSION k8s-master01 Ready master 3h2m v1.14.0 ...
kubeadm init phase control-plane all --config kubeadm-config.yaml # kubeadm init phase mark-control-plane --config kubeadm-config.yaml # 完成之后可查看node节点状态 kubectl get node #未安装安装flanne网络,节点状态是NotReady 2.png 4.安装flanne网络插件 ...
initRunner.AppendPhase(phases.NewKubeConfigPhase()) // 5.控制面组件yaml生成 initRunner.AppendPhase(phases.NewControlPlanePhase()) // 6.etcd组件yaml生成 initRunner.AppendPhase(phases.NewEtcdPhase()) // 7.等待控制面组件运行 initRunner.AppendPhase(phases.NewWaitControlPlanePhase()) ...
▪InitConfiguration提供运行时配置,用于配置Bootstrap Token及节点自身特有的设置,例如节点名称等。 ▪ClusterConfiguration定义集群配置,主要包括etcd、networking、kubernetesVersion、controlPlaneEndpoint、apiserer、controllerManager、scheduler、imageRepository和clusterName等。 ▪KubeProxyConfiguration定义要传递给kube-proxy...
error execution phase preflight: One or more conditions for hosting a new control plane instance is not satisfied. unable to add a new control plane instance a cluster that doesn't have a stable controlPlaneEndpoint address Please ensure that: ...