Skip to content

A default value should be provided for IngressIPNetworkCIDR #10387

Closed

Description

@marun

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.

cc: @smarterclayton

Activity

  1. added this to the 1.3.0 milestone on Aug 12, 2016
  2. liggitt commented on Aug 12, 2016

    @liggitt
    Contributor

    that would mean it would turn on for all old configs that are missing the field. is that what we want?

  3. liggitt commented on Aug 12, 2016

    @liggitt
    Contributor

    is there a private IP range we can assume we own? I wouldn't have thought so

  4. marun commented on Aug 12, 2016

    @marun
    ContributorAuthor

    @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.

  5. smarterclayton commented on Aug 12, 2016

    @smarterclayton
    Contributor

    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
        }
      }
    
  6. modified the milestones: 1.3.0, 1.4.0 on Sep 1, 2016
  7. marun commented on Oct 6, 2016

    @marun
    ContributorAuthor

    Fixed by #10500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions