mirror of https://github.com/kubernetes/kops.git
Deprecate `--api-loadbalancer-class` flag
This commit is contained in:
parent
6e40769786
commit
4c6368d7aa
|
|
@ -358,6 +358,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
|
|||
cmd.RegisterFlagCompletionFunc("node-tenancy", completeTenancy)
|
||||
|
||||
cmd.Flags().StringVar(&options.APILoadBalancerClass, "api-loadbalancer-class", options.APILoadBalancerClass, "Class of load balancer for the Kubernetes API (AWS only): classic or network")
|
||||
cmd.Flags().MarkDeprecated("api-loadbalancer-class", "network load balancer should be used for all newly created clusters")
|
||||
cmd.RegisterFlagCompletionFunc("api-loadbalancer-class", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
|
||||
return []string{"classic", "network"}, cobra.ShellCompDirectiveNoFileComp
|
||||
})
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@ kops create cluster [CLUSTER] [flags]
|
|||
|
||||
```
|
||||
--admin-access strings Restrict API access to this CIDR. If not set, access will not be restricted by IP. (default [0.0.0.0/0,::/0])
|
||||
--api-loadbalancer-class string Class of loadbalancer for the Kubernetes API (AWS only): classic or network
|
||||
--api-loadbalancer-type string Type of load balancer for the Kubernetes API: public or internal
|
||||
--api-ssl-certificate string ARN of the SSL Certificate to use for the Kubernetes API load balancer (AWS only)
|
||||
--associate-public-ip Specify --associate-public-ip=[true|false] to enable/disable association of public IP for master ASG and nodes. Default is 'true'.
|
||||
|
|
|
|||
Loading…
Reference in New Issue