mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-06 16:48:28 +00:00
Merge pull request #123105 from danwinship/nodeport-addresses-primary
Add `--nodeport-addresses primary`, warn on empty `--nodeport-addresses`
This commit is contained in:
@@ -224,10 +224,12 @@ type KubeProxyConfiguration struct {
|
||||
// used.)
|
||||
ClusterCIDR string `json:"clusterCIDR"`
|
||||
|
||||
// nodePortAddresses is a list of CIDR ranges that contain valid node IPs. If set,
|
||||
// nodePortAddresses is a list of CIDR ranges that contain valid node IPs, or
|
||||
// alternatively, the single string 'primary'. If set to a list of CIDRs,
|
||||
// connections to NodePort services will only be accepted on node IPs in one of
|
||||
// the indicated ranges. If unset, NodePort connections will be accepted on all
|
||||
// local IPs.
|
||||
// the indicated ranges. If set to 'primary', NodePort services will only be
|
||||
// accepted on the node's primary IPv4 and/or IPv6 address according to the Node
|
||||
// object. If unset, NodePort connections will be accepted on all local IPs.
|
||||
NodePortAddresses []string `json:"nodePortAddresses"`
|
||||
|
||||
// oomScoreAdj is the oom-score-adj value for kube-proxy process. Values must be within
|
||||
|
||||
Reference in New Issue
Block a user