操作系统信息
例如:Centos7.9
Kubernetes版本信息
Kubernetes v1.23.10
使用kk离线安装,在config-sample.yaml中如何在password中使用ssh方式添加
config-sample.yaml配置文件内容,password中不知道机器密码,机器只能靠ssh公钥私钥链接
apiVersion: kubekey.kubesphere.io/v1alpha2 kind: Cluster metadata: name: sample spec: hosts: - {name: master, address: 192.168.17.10, internalAddress: 192.168.17.10, user: root, password: “junan@123”} - {name: node1, address: 192.168.17.11, internalAddress: 192.168.17.11, user: root, password: “junan@123”} - {name: node2, address: 192.168.17.12, internalAddress: 192.168.17.12, user: root, password: “junan@123”} roleGroups: etcd: - master control-plane: - master worker: - node1 - node2