website icon indicating copy to clipboard operation
website copied to clipboard

config-sample.yaml is not same as docs

Open copenbusiness opened this issue 3 years ago • 3 comments

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}

copenbusiness avatar Nov 05 '21 00:11 copenbusiness

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 ********

copenbusiness avatar Nov 05 '21 00:11 copenbusiness

the docs url: https://kubesphere.io/docs/installing-on-linux/introduction/air-gapped-installation/

copenbusiness avatar Nov 05 '21 00:11 copenbusiness

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.

Felixnoo avatar Nov 05 '21 09:11 Felixnoo