B站视频:https://www.bilibili.com/video/BV13Q4y1C7hS?p=27
文档链接:https://www.yuque.com/leifengyang/oncloud/slk3ro

hostnamectl set-hostname node1
export KKZONE=cn
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
chmod +x kk
#可能需要下面命令
yum install -y conntrack
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.1

初始化安装 https://kubesphere.com.cn/docs/quick-start/minimal-kubesphere-on-k8s/

PLAY RECAP *********************************************************************
localhost                  : ok=31   changed=25   unreachable=0    failed=0    skipped=15   rescued=0    ignored=0   

Start installing monitoring
Start installing multicluster
Start installing openpitrix
Start installing network
**************************************************
Waiting for all tasks to be completed ...
task multicluster status is successful  (1/4)
task network status is successful  (2/4)
task openpitrix status is successful  (3/4)
task monitoring status is successful  (4/4)
**************************************************
Collecting installation results ...
#####################################################
###              Welcome to KubeSphere!           ###
#####################################################

Console: http://10.72.6.10:30880
Account: admin
Password: P@88w0rd

NOTES:
  1. After you log into the console, please check the
     monitoring status of service components in
     "Cluster Management". If any service is not
     ready, please wait patiently until all components 
     are up and running.
  2. Please change the default password after login.

#####################################################
https://kubesphere.io             2021-06-30 11:22:03
#####################################################

多集群:https://blog.csdn.net/networken/article/details/109062141

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐