You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A default value should be provided for IngressIPNetworkCIDR #10387
The assignment of ingress ip's is disabled by default. Set IngressIPNetworkCIDR to a private range by default on bare metal to ensure that services of type loadbalancer will have ingress ip's assigned.
@liggitt This was at the request of @smarterclayton. He wanted a private range that didn't conflict with other CIDRs (ExternalIPNetworkCIDRs, ClusterNetworkCIDR and ServiceNetworkCIDR) set by default on bare metal to make it easier for users to play with the feature.
There is already config that validates they don't overlap. We don't own 172.16 / 30, but we can use them. Similar concept. Old clusters getting this I think is ok - it's a net new enablement. We may want to have defaulting have a flag that checks if it overlaps with existing configured ranges and then does not default if it overlaps to avoid breaking old clusters.
defaulter:
if externalIPNetworkCIDR == nil {
cidr = "172.46.0.0/16" or something
if cidr.Overlaps(clusterNetwork) || cidr.Overlaps(serviceNetwork) {
cidr = nil
}
}
Activity
liggitt commentedon Aug 12, 2016
that would mean it would turn on for all old configs that are missing the field. is that what we want?
liggitt commentedon Aug 12, 2016
is there a private IP range we can assume we own? I wouldn't have thought so
marun commentedon Aug 12, 2016
@liggitt This was at the request of @smarterclayton. He wanted a private range that didn't conflict with other CIDRs (ExternalIPNetworkCIDRs, ClusterNetworkCIDR and ServiceNetworkCIDR) set by default on bare metal to make it easier for users to play with the feature.
smarterclayton commentedon Aug 12, 2016
There is already config that validates they don't overlap. We don't own 172.16 / 30, but we can use them. Similar concept. Old clusters getting this I think is ok - it's a net new enablement. We may want to have defaulting have a flag that checks if it overlaps with existing configured ranges and then does not default if it overlaps to avoid breaking old clusters.
marun commentedon Oct 6, 2016
Fixed by #10500