Get the App
SLTechnology News&Howtos  ›  Servers  › 

Record of problems with kubeadm installation K8 cluster

Shulou Source: shulou.com Published: 2022-06-02 21:04:56 09月22日 Update

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

Tags: Image cluster version address status network configuration container interface file standard node success prefix platform plug-in method environment Ali will report Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Apple Huawei Xiaomi macOS