Skip to content

Commit

Permalink
Merge pull request kubernetes#125479 from kundan2707/kube_proxy_update
Browse files Browse the repository at this point in the history
kube-proxy config update
  • Loading branch information
k8s-ci-robot committed Jun 28, 2024
2 parents 2c6daa4 + 0375192 commit bec82cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/generated/openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions staging/src/k8s.io/kube-proxy/config/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,13 @@ type KubeProxyConfiguration struct {
// winkernel contains winkernel-related configuration options.
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"`
// detectLocal contains optional configuration settings related to DetectLocalMode.
DetectLocal DetectLocalConfiguration `json:"detectLocal"`
// 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
// 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.)
ClusterCIDR string `json:"clusterCIDR"`
Expand Down

0 comments on commit bec82cc

Please sign in to comment.