In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Sealos installs Kubernetes v1.16.0 HA cluster
Github Project Link
Https://github.com/fanux/sealos
Initialize master node and worker node
Initialize script init.sh
#! / bin/bash# executes # install docker# reference documentation on both master and worker nodes as follows: # https://docs.docker.com/install/linux/docker-ce/centos/ # https://docs.docker.com/install/linux/linux-postinstall/# Uninstall the old version yum remove-y docker\ docker-client\ docker-client-latest\ docker-common\ docker-latest\ docker-latest-logrotate\ docker-logrotate\ docker-selinux\ docker -engine-selinux\ docker-engine# Settings yum repositoryyum install-yyum-utils\ device-mapper-persistent-data\ lvm2yum-config-manager-- add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo# installs and starts dockeryum install-y docker-ce-18.09.7 docker-ce-cli-18.09.7 containerd.iosystemctl enable dockersystemctl start docker# installation nfs-utils# must install nfs-utils before you can hang up Nfs Network Storage yum install-y nfs-utils# off Firewall systemctl stop firewalldsystemctl disable firewalld# off SeLinuxsetenforce 0sed-I "s/SELINUX=enforcing/SELINUX=disabled/g" / etc/selinux/config# turn off swapswapoff-ayes | cp / etc/fstab / etc/fstab_bakcat / etc/fstab_bak | grep-v swap > / etc/fstab# modify / etc/sysctl.conf# if configured Then modify sed-I "s# ^ net.ipv4.ip_forward.*#net.ipv4.ip_forward=1#g" / etc/sysctl.confsed-I "s# ^ net.bridge.bridge-nf-call-ip6tables.*#net.bridge.bridge-nf-call-ip6tables=1#g" / etc/sysctl.confsed-I "s# ^ net.bridge.bridge-nf-call-iptables.*#net.bridge.bridge-nf-call-iptables=1#g" / etc/sysctl.conf# may not Append echo "net.ipv4.ip_forward = 1" > > / etc/sysctl.confecho "net.bridge.bridge-nf-call-ip6tables = 1" > > / etc/sysctl.confecho "net.bridge.bridge-nf-call-iptables = 1" > > / etc/sysctl.conf# execute command to apply sysctl-p# to configure yum source cat RemoteAddress:Port Forward Weight ActiveConn InActConnTCP 10.96.0.1 for K8S 443 rr-> 172.31.194.114net.bridge.bridge-nf-call-ip6tables 6443 Masq 1 30-> 172.31.194.115 Masq 6443 Masq 1 20-> 172.31.194.116purl 6443 Masq 1 00
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.