![]() ![]() ![]() Then you can join any number of worker nodes by running the following on each as root: "kubeadm init phase upload-certs -upload-certs" to reload certs afterward. Please note that the certificate-key gives access to cluster sensitive data, keep it secret !Īs a safeguard, uploaded-certs will be deleted in two hours If necessary, you can use You can now join any number of the control-plane node running the following command on each as root: You should now deploy a pod network to the cluster. Sudo chown $( id -u ) : $( id -g ) $HOME/.kube/config Sudo cp -i /etc/kubernetes/nf $HOME/.kube/config To start using your cluster, you need to run the following as a regular user: Your Kubernetes control-plane has initialized successfully ! Systemctl restart haproxy & systemctl enable haproxy Systemctl enable kubelet & systemctl start kubelet Yum install -y kubelet kubeadm kubectl -disableexcludes =kubernetes kubectl : 클러스터와 통신하기 위한 Command Line Utility.#/dev/mapper/centos-swap swap swap defaults 0 0 Kubeadm으로 Master Node 설치 Setenforce 0 # selinux 설정 파일에서 영구 설정 sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config Yum -y install docker-ce docker-ce-cli containerd.io Yum -y install yum-utils device-mapper-persistent-data lvm2 Kubeadm init과 kubeadm join -control-plane으로 Control Plane Node에서 자동으로 etcd 멤버를 만들 수 있다. ![]() Kube-apiserver는 Load Balancer에 의해 Worker Node로 노출이 된다.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |