diff --git a/cmd/kops/create_cluster.go b/cmd/kops/create_cluster.go index ed3d447d8e992..dacbf20b390ba 100644 --- a/cmd/kops/create_cluster.go +++ b/cmd/kops/create_cluster.go @@ -313,13 +313,13 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command { cmd.Flags().StringVar(&options.Channel, "channel", options.Channel, "Channel for default versions and configuration to use") // Network topology - cmd.Flags().StringVarP(&options.Topology, "topology", "t", options.Topology, "Controls network topology for the cluster. public|private. Default is 'public'.") + cmd.Flags().StringVarP(&options.Topology, "topology", "t", options.Topology, "Controls network topology for the cluster: public|private.") // Authorization cmd.Flags().StringVar(&options.Authorization, "authorization", options.Authorization, "Authorization mode to use: "+AuthorizationFlagAlwaysAllow+" or "+AuthorizationFlagRBAC) // DNS - cmd.Flags().StringVar(&options.DNSType, "dns", options.DNSType, "DNS hosted zone to use: public|private. Default is 'public'.") + cmd.Flags().StringVar(&options.DNSType, "dns", options.DNSType, "DNS hosted zone to use: public|private.") // Bastion cmd.Flags().BoolVar(&options.Bastion, "bastion", options.Bastion, "Pass the --bastion flag to enable a bastion instance group. Only applies to private topology.") diff --git a/cmd/kops/create_secret_sshpublickey.go b/cmd/kops/create_secret_sshpublickey.go index 8d729f1322c0a..4bf71e9cd22c6 100644 --- a/cmd/kops/create_secret_sshpublickey.go +++ b/cmd/kops/create_secret_sshpublickey.go @@ -39,7 +39,7 @@ var ( --name k8s-cluster.example.com --state s3://example.com `)) - createSecretSSHPublicKeyShort = i18n.T(`Create a ssh public key.`) + createSecretSSHPublicKeyShort = i18n.T(`Create an ssh public key.`) ) type CreateSecretPublickeyOptions struct { diff --git a/docs/cli/kops_create_cluster.md b/docs/cli/kops_create_cluster.md index 62b85939b15ed..d93793a5776a3 100644 --- a/docs/cli/kops_create_cluster.md +++ b/docs/cli/kops_create_cluster.md @@ -73,7 +73,7 @@ kops create cluster [flags] --channel string Channel for default versions and configuration to use (default "stable") --cloud string Cloud provider to use - gce, aws, vsphere --cloud-labels string A list of KV pairs used to tag all instance groups in AWS (eg "Owner=John Doe,Team=Some Team"). - --dns string DNS hosted zone to use: public|private. Default is 'public'. (default "Public") + --dns string DNS hosted zone to use: public|private. (default "Public") --dns-zone string DNS hosted zone to use (defaults to longest matching zone) --dry-run If true, only print the object that would be sent, without sending it. This flag can be used to create a cluster YAML or JSON manifest. --encrypt-etcd-storage Generate key in aws kms and use it for encrypt etcd volumes @@ -102,7 +102,7 @@ kops create cluster [flags] --ssh-public-key string SSH public key to use (defaults to ~/.ssh/id_rsa.pub on AWS) --subnets strings Set to use shared subnets --target string Valid targets: direct, terraform, cloudformation. Set this flag to terraform if you want kops to generate terraform (default "direct") - -t, --topology string Controls network topology for the cluster. public|private (default "public") + -t, --topology string Controls network topology for the cluster: public|private. (default "public") --utility-subnets strings Set to use shared utility subnets --vpc string Set to use a shared VPC -y, --yes Specify --yes to immediately create the cluster