centos快速安装kubernetes

export KKZONE=cn
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.3.0 sh -
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
# 如果缺少某个软件包,则临时下载,并重复执行./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
yum -y install conntrack-tools
yum -y install socat

安装结果验证,执行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

官方文档 https://kubesphere.com.cn/docs/v3.3/quick-start/all-in-one-on-linux/

posted @ 2022-11-08 14:13  钟子期  阅读(36)  评论(0)    收藏  举报