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

Construction of k8s1.14 Environment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly talks about "the Construction of k8s1.14 Environment". Friends who are interested may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "the Construction of k8s1.14 Environment".

1. 4 virtual machines (CentOS Linux release 7.2.1511 (Core))

192.168.130.211 master

192.168.130.212 node1

192.168.130.213 node2

192.168.130.214 node3

two。 Set up server hostname

2.1 set native hostnamectl set-hostname master

2.2 vim / etc/hosts

192.168.130.211 master

192.168.130.212 node1

192.168.130.213 node2

192.168.130.214 node3

2.3 reboot

3. Turn off the firewall, selinux, and swap

Systemctl stop firewalldsystemctl disable firewalldsetenforce 0sed-I "s / ^ SELINUX = enforcing/SELINUX=disabled/g" / etc/selinux/configswapoff-ased-I's Unip. Etc/fstab

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

Cat > / etc/sysctl.d/k8s.conf

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

Internet Technology

Wechat

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

12
Report