It is designed to allow connectivity across the pod. The pod Network is the overlay network for the cluster, that is deployed on top of the present node network. Now notice that the status of the master-node is ‘NotReady’,this because we are yet to deploy the pod network to the cluster. $ sudo chown $(id -u):$(id -g) $HOME/.kube/configĬheck to see if the kubectl command is activated. $ sudo cp -i /etc/kubernetes/nf $HOME/.kube/config # chown $(id -u):$(id -g) $HOME/.kube/config ![]() # cp -i /etc/kubernetes/nf $HOME/.kube/config To allow user to start using the cluster(As a root user). Initialize Kubernetes Master and Setup Default User Kubernetes repositories manually on CentOS 7 # echo ‘1’ > /proc/sys/net/bridge/bridge-nf-call-iptables # firewall-cmd –permanent –add-port=10255/tcp # firewall-cmd –permanent –add-port=10252/tcp # firewall-cmd –permanent –add-port=10251/tcp # firewall-cmd –permanent –add-port=10250/tcp # firewall-cmd –permanent –add-port=6443/tcp ![]() # sed -i –follow-symlinks ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/sysconfig/selinux Installation of Kubernetes Cluster on Master-Nodeĭisable SElinux and update your firewall rules. In our set up we use a Master-node and 2 worker nodes
0 Comments
Leave a Reply. |