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

K8sJing Kubernetes environment is built, cluster is built, 1 mster,2 node

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

Share

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

Install a virtual machine

1. Install 3 virtual machines, or use other physical machines to OK

two。 The addresses of the three IP are: 192.168.222.135192.168.222.139192.168.222.140

two。 Set hostname,master node settin

Hostnamectl set-hostname master

3. Two node node settin

Hostnamectl set-hostname node1

4. Log out of shell and log in again

Install component

1. Install docker, kubelet, kubeadm and kubectl on all three servers. Here is a script that you can use.

~] # vi setup.sh the following contents are copied into file # / bin/sh# install some toolssudo yum install-y vim telnet bind-utils wgetsudo bash-c '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