[root@master1 ~]# ./kk create cluster -f config-sample.yaml
Error: Failed to download cluster config: Unable to unmarshal the given cluster configuration file: yaml: line 9: found character that cannot start any token
Usage:
kk create cluster [flags]
Flags:
–download-cmd string The user defined command to download the necessary binary files. The first param ‘%s’ is output path, the second param ‘%s’, is the URL (default “curl -L -o %s %s”)
-f, –filename string Path to a configuration file
-h, –help help for cluster
–skip-pull-images Skip pre pull images
–with-kubernetes string Specify a supported version of kubernetes (default “v1.19.8”)
–with-kubesphere Deploy a specific version of kubesphere (default v3.1.0)
–with-local-storage Deploy a local PV provisioner
-y, –yes Skip pre-check of the installation
Global Flags:
–debug Print detailed information (default true)
–in-cluster Running inside the cluster
Failed to download cluster config: Unable to unmarshal the given cluster configuration file: yaml: line 9: found character that cannot start any token