

Kubernetes is an open source for managing container applications on multiple hosts in the cloud platform.The goal of Kubernetes is to make deploying containerized applications simple and efficient.Kubernetes provides a mechanism for application deployment, planning, updating, and maintenance.Ī core feature of Kubernetes is the ability to manage containers independently to ensure that containers in cloud platforms run as expected by users.
KUBEADM CENTOS 7 KUBE PROXY IPVS DOWNLOAD
I0518 20:24:09.435271 1 controller_utils.1) Check docker version, close firewall and SELinux, empty iptables rules, disable SwapĢ) Configure Secret-Free Login, Configure hosts file and yum sourceģ) Open iptables bridge and route forwardingĢ) Download the components needed to deploy the kubernetes clusterĥ) Add node01, node02 to the kubernetes clusterĦ) Post-deployment optimization 1. I0518 20:24:09.435153 1 controller_utils.go:1034] Caches are synced for service config controller I0518 20:24:09.334976 1 controller_utils.go:1027] Waiting for caches to sync for service config controller I0518 20:24:09.334916 1 controller_utils.go:1027] Waiting for caches to sync for endpoints config controller W0518 20:24:09.319751 1 proxier.go:386] IPVS scheduler not specified, use rr by default centos]# kubectl logs kube-proxy-54qnw -n kube-system centos]# kubectl get pod -n kube-system | grep kube-proxy centos]# kubectl get pod -n kube-system |grep kube-proxy |awk '' centos]# kubectl edit cm kube-proxy -n kube-system If you don't see a command prompt, try pressing enter. Use kubectl run -generator=run-pod/v1 or kubectl create instead.

Kubectl run -generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. 测试dns centos]# kubectl run curl -image=radial/busyboxplus:curl -it 执行命令去除标记 kubectl taint nodes k8smaster.novalocal /master:NoSchedule.

查看污点标记 kubectl describe node k8smaster.novalocal |grep Taint

Kube-system kube-scheduler-k8smaster.novalocal 1/1 Running 0 14m 192.168.233.251 k8smaster.novalocal Kube-system kube-controller-manager-k8smaster.novalocal 1/1 Running 0 14m 192.168.233.251 k8smaster.novalocal Kube-system kube-apiserver-k8smaster.novalocal 1/1 Running 0 14m 192.168.233.251 k8smaster.novalocal Kube-system etcd-k8smaster.novalocal 1/1 Running 0 14m 192.168.233.251 k8smaster.novalocal 将桥接的IPv4流量传递到iptables的链: cat > /etc/sysctl.d/k8s.conf /etc/sysconfig/modules/ipvs.modules /etc//kubernetes.repo
