一、记录k8s-master节点信息
k8s-master节点的信息,这一步主要是为了让在执行添加节点后,master节点的变化,本身没有什么作用。
[root@k8s-master centos]# kubectl get pod --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-6949477b58-hhrql 1/1 Running 3 2d2h
kube-system calico-node-bmf86 1/1 Running 11 2d2h
kube-system coredns-7f89b7bc75-t8ncc 1/1 Running 3 2d2h
kube-system coredns-7f89b7bc75-xc2bw 1/1 Running 3 2d2h
kube-system etcd-k8s-master 1/1 Running 4 2d2h
kube-system kube-apiserver-k8s-master 1/1 Running 5 2d2h
kube-system kube-controller-manager-k8s-master 1/1