mirror of https://github.com/kubernetes/kops.git
Docs fixes
This commit is contained in:
parent
e3055a6906
commit
6e04586361
|
@ -330,7 +330,7 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
|
||||||
|
|
||||||
cmd.Flags().StringVar(&options.Image, "image", options.Image, "Image to use for all instances.")
|
cmd.Flags().StringVar(&options.Image, "image", options.Image, "Image to use for all instances.")
|
||||||
|
|
||||||
cmd.Flags().StringVar(&options.Networking, "networking", options.Networking, "Networking mode to use. kubenet (default), external, weave, flannel-vxlan (or flannel), flannel-udp, calico, canal, kube-router, amazon-vpc-routed-eni, cilium, cni, lyftvpc.")
|
cmd.Flags().StringVar(&options.Networking, "networking", options.Networking, "Networking mode to use. kubenet, external, weave, flannel-vxlan (or flannel), flannel-udp, calico, canal, kube-router, amazon-vpc-routed-eni, cilium, cni, lyftvpc.")
|
||||||
|
|
||||||
cmd.Flags().StringVar(&options.DNSZone, "dns-zone", options.DNSZone, "DNS hosted zone to use (defaults to longest matching zone)")
|
cmd.Flags().StringVar(&options.DNSZone, "dns-zone", options.DNSZone, "DNS hosted zone to use (defaults to longest matching zone)")
|
||||||
cmd.Flags().StringVar(&options.OutDir, "out", options.OutDir, "Path to write any local output")
|
cmd.Flags().StringVar(&options.OutDir, "out", options.OutDir, "Path to write any local output")
|
||||||
|
|
|
@ -94,7 +94,7 @@ kops create cluster [flags]
|
||||||
--master-zones strings Zones in which to run masters (must be an odd number)
|
--master-zones strings Zones in which to run masters (must be an odd number)
|
||||||
--model string Models to apply (separate multiple models with commas) (default "proto,cloudup")
|
--model string Models to apply (separate multiple models with commas) (default "proto,cloudup")
|
||||||
--network-cidr string Set to override the default network CIDR
|
--network-cidr string Set to override the default network CIDR
|
||||||
--networking string Networking mode to use. kubenet (default), external, weave, flannel-vxlan (or flannel), flannel-udp, calico, canal, kube-router, amazon-vpc-routed-eni, cilium, cni, lyftvpc. (default "kubenet")
|
--networking string Networking mode to use. kubenet, external, weave, flannel-vxlan (or flannel), flannel-udp, calico, canal, kube-router, amazon-vpc-routed-eni, cilium, cni, lyftvpc. (default "kubenet")
|
||||||
--node-count int32 Set the number of nodes
|
--node-count int32 Set the number of nodes
|
||||||
--node-security-groups strings Add precreated additional security groups to nodes.
|
--node-security-groups strings Add precreated additional security groups to nodes.
|
||||||
--node-size string Set instance size for nodes
|
--node-size string Set instance size for nodes
|
||||||
|
|
|
@ -3137,16 +3137,16 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
cni:
|
cni:
|
||||||
description: CNINetworkingSpec is the specification for networking
|
description: CNINetworkingSpec is the specification for networking
|
||||||
that is implemented by a Daemonset. Uses the CNI networking
|
that is implemented by a user-provided Daemonset, which uses
|
||||||
plugin.
|
the CNI kubelet networking plugin.
|
||||||
properties:
|
properties:
|
||||||
usesSecondaryIP:
|
usesSecondaryIP:
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
external:
|
external:
|
||||||
description: ExternalNetworkingSpec is the specification for networking
|
description: ExternalNetworkingSpec is the specification for networking
|
||||||
that is implemented by a Daemonset. Uses the kubenet kubelet
|
that is implemented by a user-provided Daemonset that uses the
|
||||||
networking plugin.
|
kubelet networking plugin.
|
||||||
type: object
|
type: object
|
||||||
flannel:
|
flannel:
|
||||||
description: FlannelNetworkingSpec declares that we want Flannel
|
description: FlannelNetworkingSpec declares that we want Flannel
|
||||||
|
|
|
@ -46,13 +46,11 @@ type ClassicNetworkingSpec struct {
|
||||||
type KubenetNetworkingSpec struct {
|
type KubenetNetworkingSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ExternalNetworkingSpec is the specification for networking that is implemented by a Daemonset.
|
// ExternalNetworkingSpec is the specification for networking that is implemented by a user-provided Daemonset that uses the kubelet networking plugin.
|
||||||
// Uses the kubenet kubelet networking plugin.
|
|
||||||
type ExternalNetworkingSpec struct {
|
type ExternalNetworkingSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// CNINetworkingSpec is the specification for networking that is implemented by a Daemonset.
|
// CNINetworkingSpec is the specification for networking that is implemented by a user-provided Daemonset, which uses the CNI kubelet networking plugin.
|
||||||
// Uses the CNI kubelet networking plugin.
|
|
||||||
type CNINetworkingSpec struct {
|
type CNINetworkingSpec struct {
|
||||||
UsesSecondaryIP bool `json:"usesSecondaryIP,omitempty"`
|
UsesSecondaryIP bool `json:"usesSecondaryIP,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,13 +46,11 @@ type ClassicNetworkingSpec struct {
|
||||||
type KubenetNetworkingSpec struct {
|
type KubenetNetworkingSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ExternalNetworkingSpec is the specification for networking that is implemented by a Daemonset.
|
// ExternalNetworkingSpec is the specification for networking that is implemented by a user-provided Daemonset that uses the kubelet networking plugin.
|
||||||
// Uses the kubenet kubelet networking plugin.
|
|
||||||
type ExternalNetworkingSpec struct {
|
type ExternalNetworkingSpec struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// CNINetworkingSpec is the specification for networking that is implemented by a Daemonset.
|
// CNINetworkingSpec is the specification for networking that is implemented by a user-provided Daemonset, which uses the CNI kubelet networking plugin.
|
||||||
// Uses the CNI networking plugin.
|
|
||||||
type CNINetworkingSpec struct {
|
type CNINetworkingSpec struct {
|
||||||
UsesSecondaryIP bool `json:"usesSecondaryIP,omitempty"`
|
UsesSecondaryIP bool `json:"usesSecondaryIP,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue