Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Record of problems with kubeadm installation K8 cluster

2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report