https://kubesphere.com.cn/docs/v3.3/installing-on-linux/introduction/multioverview/
install
./kk create config --with-kubernetes v1.21.13 --with-kubesphere v3.3.0
config-sample.yaml
apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
name: sample
spec:
hosts:
- {name: sdaasdev04, address: 10.225.20.11, internalAddress: 10.225.20.11, user: ubuntu, privateKeyPath: "~/.ssh/id_rsa"}
- {name: sdaasdev05, address: 10.225.20.12, internalAddress: 10.225.20.12, user: ubuntu, privateKeyPath: "~/.ssh/id_rsa"}
- {name: sdaasdev06, address: 10.225.20.13, internalAddress: 10.225.20.13, user: ubuntu, privateKeyPath: "~/.ssh/id_rsa"}
遇到sudo mkdir dir 权限不对,如下设置解决:
/etc/sudoers.d/90-cloud-init-users
Defaults umask_override
Defaults umask=0022
标签:name,10.225,kubesphere,KubeKey,id,ubuntu,安装,节点,privateKeyPath
From: https://www.cnblogs.com/wl30564/p/16845276.html