website
website copied to clipboard
config-sample.yaml is not same as docs
After running the following command, The config-sample.yaml is not same as docs. It have not master machine ,and it have a user user information ,but docs have not user information.
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
[root@master kubesphere]# cat config-sample.yaml apiVersion: kubekey.kubesphere.io/v1alpha1 kind: Cluster metadata: name: sample spec: hosts:
- {name: node1, address: 172.16.0.2, internalAddress: 172.16.0.2, user: ubuntu, password: Qcloud@123}
- {name: node2, address: 172.16.0.3, internalAddress: 172.16.0.3, user: ubuntu, password: Qcloud@123}
Do I need master machine? Can I use the following machines information?
- {name: master, address: 10.11.13.240, internalAddress: 10.11.13.240, password: *******}
- {name: node1, address: 10.11.13.241, internalAddress: 10.11.13.241, password: ******}
- {name: node2, address: 10.11.13.242, internalAddress: 10.11.13.242, password: ********}
root's password is ********
the docs url: https://kubesphere.io/docs/installing-on-linux/introduction/air-gapped-installation/
Do I need master machine? Can I use the following machines information?
- {name: master, address: 10.11.13.240, internalAddress: 10.11.13.240, password: *******}
- {name: node1, address: 10.11.13.241, internalAddress: 10.11.13.241, password: ******}
- {name: node2, address: 10.11.13.242, internalAddress: 10.11.13.242, password: ********}
root's password is ********
Hi, the example written in the document is only for reference about how to edit config-sample.yaml
rather than a copy of the original content in the config-sample.yaml
. You can edit the config-sample.yaml
based on your needs.