In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to use kubeadm to create high-availability clusters in kubernetes. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
one。 Environment and version information
OS: CentOS 7.6.1810HAProxy Vervion: 1.5.18Docker Version: Docker-CE 18.09.1Kubetnetes Version: v1.15.1HAProxy: 192.168.199.200Control-plane Node (master node): node-01: 192.168.199.201 node-02: 192.168.199.202 node-03: 192.168.199.203Worker Node:node-04: 192.168.199.204 node-05: 192.168.199.205 node -06: 192.168.199.206 II. System configuration: 1. Turn off the firewall sudo systemctl stop firewalldsudo systemctl disable firewalld2. Close selinuxsetenforce 0sed-I's / ^ SELINUX = enforcing$/SELINUX=disabled/' / etc/selinux/config3. Turn off swapsudo swapoff-a
Note swap mounting, as shown below:
three。 Install docker, kubeadm, kubelet, kubectl1. Install docker-ce installation dependency package sudo yum install-y yum-utils device-mapper-persistent-data lvm2 add yum source sudo yum-config-manager-- add-repo https://download.docker.com/linux/centos/docker-ce.repo install docker-cesudo yum install-y docker-ce-18.09.1-3.el7
It is officially recommended to change cgroup driver to systemd, which is more stable. For more information, please see https://kubernetes.io/docs/setup/cri.
Mkdir / etc/dockercat
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.