安装文档
Linux单节点部署KubeSphere
-
开通服务器
4c8g;centos7.9;防火墙放行 30000~32767;指定hostnamehostnamectl set-hostname kube01 swapoff -a
需要开放的端口
-
安装
准备KubeKeyexport KKZONE=cn curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.7 sh - chmod +x kk
-
使用KubeKey引导安装集群
#需要下面命令 yum install -y conntrack yum install -y socat ./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
-
验证安装结果
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f
- 安装后开启功能
密码:Qy566@123