In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces kubernetes 1.18 how to install offline, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Kuberentes offline slippery installation
In order to make the kubernetes installation and cluster node management more smooth, this time we put a lot of effort into it. A lot of very big updates have been made this time, and have been fully tested and fixed by bug to make it stable.
Try to do this simple thing to the extreme.
Divest the customized kubeam function into sealos
The 100-year-old certificate function and localLB implemented by custom kubeadm code have been stripped into sealos and are now completely native kubernetes.
In order to reduce the dependence on third-party command line tools, sealos certificates are generated entirely by calling golang's library, and the generation logic is the same as kubeadm, but the certificate time of one year in client-go is changed into a parameter.
Ipvs's localLB definitely disdains to call tools like ipvsadm, which is also done by system calls, and fixes the incompatibility between netlink and kernel versions, which has always been solved by kernel upgrades in version 1.18 of kube-proxy.
Free to add and delete master or node nodes
For all the things of one command, have you found such a smooth and simple way to add or delete nodes in your cluster?
Ultra-complete kubernetes version support
We will release offline packages within 1 working day for the official version of the basic official release. So it is basically the fastest and most complete in the whole network, and in order for users to have a better download experience, put it on Aliyun oss and download silky.
The reason we are so fast is due to our packaging and automated testing robots.
Experience optimization and re-optimization
Streamlined log output
Real-time stream logs, most tool logs for remote execution commands are synchronous output, which is returned to standard output after log execution, while asynchronous output when sealos executes remote commands is too slippery.
Lvscare boot ipvs kernel module load
? Quick start
Environmental information
Hostname IP address master0192.168.0.2master1192.168.0.3master2192.168.0.4node0192.168.0.5
Server password: 123456
Just prepare the server and execute the following command on any server
# download and install sealos, sealos is a binary tool for golang Just download and copy it to the bin directory The release page can also download $wget-c https://sealyun.oss-cn-beijing.aliyuncs.com/latest/sealos & &\ chmod + x sealos & & mv sealos / usr/bin # download the offline resource kit $wget-c https://sealyun.oss-cn-beijing.aliyuncs.com/d551b0b9e67e0416d0f9dce870a16665-1.18.0/kube1.18.0.tar.gz # install a three-master kubernetes cluster $sealos init-- passwd 123456\-- master 192.168.0.2-- master 192.168.0.3-- master 192.168.0.4\-- node 192.168.0.5\-- pkg-url / root/kube1.18.0.tar.gz\-version v1.18.0
Parameter meaning
Example passwd server password 123456masterk8s master node IP address 192.168.0.2nodek8s node node IP address 192.168.0.3pkg-url offline resource bundle address, which can be downloaded locally or a version corresponding to a remote address / root/kube1.16.0.tar.gzversion resource pack v1.16.0
Add master
→ sealos join-- master 192.168.0.6-- master 192.168.0.7? → sealos join-- master 192.168.0.6-192.168.0.9 # or multiple consecutive IP
Add node
→ sealos join-- node 192.168.0.6-- node 192.168.0.7? → sealos join-- node 192.168.0.6-192.168.0.9 # or multiple consecutive IP
Delete the specified master node
→ sealos clean-- master 192.168.0.6-- master 192.168.0.7? → sealos clean-- master 192.168.0.6-192.168.0.9 # or multiple consecutive IP
Delete the specified node node
→ sealos clean-- node 192.168.0.6-- node 192.168.0.7? → sealos clean-- node 192.168.0.6-192.168.0.9 # or multiple consecutive IP
Clean up the cluster
→ sealos clean thank you for reading this article carefully. I hope the article "how to install kubernetes 1.18 offline" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
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.