kubesphere(一) Ubuntu 24 云服务器 单节点 kubekey 安装k8s和kubesphere
export KKZONE=cn
curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.7 sh -
chmod +x kk
./kk create cluster
解决
sudo apt-get -y install conntrack
sudo apt-get -y install socat
安装k8s和kubesphere
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
删除集群
./kk delete cluster
安装完成控制台输出验证安装结果命令
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