mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
kube-proxy confif update
This commit is contained in:
parent
8db1402f3d
commit
0375192c5c
4
pkg/generated/openapi/zz_generated.openapi.go
generated
4
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -59090,7 +59090,7 @@ func schema_k8sio_kube_proxy_config_v1alpha1_KubeProxyConfiguration(ref common.R
|
|||||||
},
|
},
|
||||||
"detectLocalMode": {
|
"detectLocalMode": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "detectLocalMode determines mode to use for detecting local traffic, defaults to LocalModeClusterCIDR",
|
Description: "detectLocalMode determines mode to use for detecting local traffic, defaults to ClusterCIDR",
|
||||||
Default: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
@ -59105,7 +59105,7 @@ func schema_k8sio_kube_proxy_config_v1alpha1_KubeProxyConfiguration(ref common.R
|
|||||||
},
|
},
|
||||||
"clusterCIDR": {
|
"clusterCIDR": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When DetectLocalMode is set to LocalModeClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.)",
|
Description: "clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When DetectLocalMode is set to ClusterCIDR, kube-proxy will consider traffic to be local if its source IP is in this range. (Otherwise it is not used.)",
|
||||||
Default: "",
|
Default: "",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
Format: "",
|
Format: "",
|
||||||
|
@ -213,13 +213,13 @@ type KubeProxyConfiguration struct {
|
|||||||
// winkernel contains winkernel-related configuration options.
|
// winkernel contains winkernel-related configuration options.
|
||||||
Winkernel KubeProxyWinkernelConfiguration `json:"winkernel"`
|
Winkernel KubeProxyWinkernelConfiguration `json:"winkernel"`
|
||||||
|
|
||||||
// detectLocalMode determines mode to use for detecting local traffic, defaults to LocalModeClusterCIDR
|
// detectLocalMode determines mode to use for detecting local traffic, defaults to ClusterCIDR
|
||||||
DetectLocalMode LocalMode `json:"detectLocalMode"`
|
DetectLocalMode LocalMode `json:"detectLocalMode"`
|
||||||
// detectLocal contains optional configuration settings related to DetectLocalMode.
|
// detectLocal contains optional configuration settings related to DetectLocalMode.
|
||||||
DetectLocal DetectLocalConfiguration `json:"detectLocal"`
|
DetectLocal DetectLocalConfiguration `json:"detectLocal"`
|
||||||
// clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack
|
// clusterCIDR is the CIDR range of the pods in the cluster. (For dual-stack
|
||||||
// clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When
|
// clusters, this can be a comma-separated dual-stack pair of CIDR ranges.). When
|
||||||
// DetectLocalMode is set to LocalModeClusterCIDR, kube-proxy will consider
|
// DetectLocalMode is set to ClusterCIDR, kube-proxy will consider
|
||||||
// traffic to be local if its source IP is in this range. (Otherwise it is not
|
// traffic to be local if its source IP is in this range. (Otherwise it is not
|
||||||
// used.)
|
// used.)
|
||||||
ClusterCIDR string `json:"clusterCIDR"`
|
ClusterCIDR string `json:"clusterCIDR"`
|
||||||
|
Loading…
Reference in New Issue
Block a user