mirror of https://github.com/kubernetes/kops.git
Clarify comment on nonMasqueradeCIDR field.
Should not have any code impact.
This commit is contained in:
parent
ccb39750d0
commit
b51cae02d8
|
@ -44,7 +44,7 @@ type NetworkingSpec struct {
|
||||||
// HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy
|
// HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy
|
||||||
EgressProxy *EgressProxySpec `json:"egressProxy,omitempty"`
|
EgressProxy *EgressProxySpec `json:"egressProxy,omitempty"`
|
||||||
|
|
||||||
// NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live)
|
// NonMasqueradeCIDR is the CIDR for the internal k8s network (for pod IPs)
|
||||||
// It cannot overlap ServiceClusterIPRange
|
// It cannot overlap ServiceClusterIPRange
|
||||||
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"`
|
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"`
|
||||||
// PodCIDR is the CIDR from which we allocate IPs for pods
|
// PodCIDR is the CIDR from which we allocate IPs for pods
|
||||||
|
|
|
@ -127,7 +127,7 @@ type ClusterSpec struct {
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
PodCIDR string `json:"podCIDR,omitempty"`
|
PodCIDR string `json:"podCIDR,omitempty"`
|
||||||
// MasterIPRange string `json:",omitempty"`
|
// MasterIPRange string `json:",omitempty"`
|
||||||
// NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live)
|
// NonMasqueradeCIDR is the CIDR for the internal k8s network (for pod IPs)
|
||||||
// It cannot overlap ServiceClusterIPRange
|
// It cannot overlap ServiceClusterIPRange
|
||||||
// +k8s:conversion-gen=false
|
// +k8s:conversion-gen=false
|
||||||
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"`
|
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"`
|
||||||
|
|
|
@ -48,7 +48,7 @@ type NetworkingSpec struct {
|
||||||
// HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy
|
// HTTPProxy defines connection information to support use of a private cluster behind an forward HTTP Proxy
|
||||||
EgressProxy *EgressProxySpec `json:"egressProxy,omitempty"`
|
EgressProxy *EgressProxySpec `json:"egressProxy,omitempty"`
|
||||||
|
|
||||||
// NonMasqueradeCIDR is the CIDR for the internal k8s network (on which pods & services live)
|
// NonMasqueradeCIDR is the CIDR for the internal k8s network (for pod IPs)
|
||||||
// It cannot overlap ServiceClusterIPRange
|
// It cannot overlap ServiceClusterIPRange
|
||||||
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"`
|
NonMasqueradeCIDR string `json:"nonMasqueradeCIDR,omitempty"`
|
||||||
// PodCIDR is the CIDR from which we allocate IPs for pods
|
// PodCIDR is the CIDR from which we allocate IPs for pods
|
||||||
|
|
Loading…
Reference in New Issue