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

K8S 1.16.2 deployment

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

Share

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

The new version of K8S 1.16 has greatly improved stability and availability, especially the expansion API interface supporting back-end PV has been updated to beta version, which makes it easier to manage when using stateful data storage POD and better meet production requirements. Below is a quick deployment description of the new K8S 1.16.2.

Configuration Information Host List: Host name IPk8s-master192.168.20.70k8s-worker-1192.168.20.71k8s-worker-2192.168.20.72 Component version Information system component version CentOS7 kernel 4.4.178docker18.09.5k8s1.16.2 All nodes system initialization Close firewall, selinux, upgrade kernel to version 4.4 or above, set resolution host name, synchronize cluster time. Configure system parameters: # cat /etc/sysctl.d/k8s.conf net.ipv4.ip_nonlocal_bind = 1 net.ipv4.ip_forward = 1net.bridge.bridge-nf-call-ip6tables = 1net.bridge.bridge-nf-call-iptables = 1net.ipv4.ip_local_port_range = 10000 65000fs.file-max = 20000net.ipv4.ip_forward = 1vm.swappiness = 0 install docker# ll /tmp/total 33512-rw-r-- 1 root 19623520 Apr 18 2019 docker-ce-18.09.5-3.el7.x86_64.rpm-rw-r--r-- 1 root root 14689524 Apr 18 2019 docker-ce-cli-18.09.5-3.el7.x86_64.rpmmv docker-ce.repo /etc/yum.repos.d/yum install docker-ce-* configuration docker: cat >/etc/docker/daemon. json

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