Record of problems with kubeadm installation K8 cluster
Environmental preparation
192.168.222.247 k8s-master centos 7.5
192.168.222.250 k8s-node1 centos 7.5
Basic environmental preparation
Turn off the firewall
Systemctl stop firewalld
Systemctl disable firewalld
Close seliunx
Sed-I's etc/selinux/config for Eng.
Setenforce 0
Close swap
Swapoff-a $temporary
Vim / etc/fstab $permanent
Set the hostname
Hostnamectl set-hostname k8s-master
Hostnamectl set-hostname k8s-node1
5. Chain that passes bridged IPv4 traffic to iptables:
Cat > / etc/sysctl.d/k8s.conf / etc/yum.repos.d/kubernetes.repo