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

Kubeadm installation Kubernetes1.15 installation deployment details-Part 2

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

Share

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

Premise

Kubernetes released the second largest version of Kubernetes 1.15 this year, which enhanced 25 related features, including 2 upgrades to GA, 13 to beta and 10 to alpha.

Starting with version 1.14, Kubernetes introduced new features to dynamically add the primary node to the cluster. There is no need to copy certificates and keys between nodes, reducing the additional orchestration and complexity of the bootstrap process. This article uses this new feature for deployment. How fast and economical the overall deployment process is!

Initialize the cluster and system environment (do the following on all nodes)

1. Set the hostname hostname and the management node set the hostname to master.

two。 Edit the / etc/hosts file to add domain name resolution.

3. Turn off the firewall, selinux, and swap.

4. Configure kernel parameters to pass bridged IPv4 traffic to the chain of iptables

5. Configure domestic yum feeds

Yum install-y wgetmkdir / etc/yum.repos.d/bak & & mv / etc/yum.repos.d/*.repo / etc/yum.repos.d/bakwget-O / etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repowget-O / etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo/epel-7.repoyum clean all & & yum makecache

6. Configure domestic Kubernetes feeds

Cat

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