Uploaded image for project: 'OpenShift Specialist Platform Team'
  1. OpenShift Specialist Platform Team
  2. SPLAT-1450

[aws][byo-ipv4] Research service LB for OCP routers can be annotated to use EIP alloc and subnet ID

      Story:

      • As a OCP engineer, I would like to know if CCM annotations for EIP and subnet ID can be used as a "subnet mapping" to consume from BYO Public IPv4 Pool (BYOIP), so I will have confidence to the supported path when guiding/helping internal teams for AWS-specific in the final solution for the BYOIP feature.
      •  

      Goal:

      • Create a OCP cluster with Router using NLB, then annotate the service LB to use subnet IDs and custom EIP allocation

       

      Outcomes:

      • Service LB is created correctly by CCM using Public IPs from BYO Public IPv4 Pool

       

      References:

      [B] CCM support EIP allocation annotation: https://github.com/kubernetes/cloud-provider-aws/blob/8d478f47a598c752859922d8dcd44f9de585be56/pkg/providers/v1/aws.go#L225-L228 

      [C] CCM map allocations https://github.com/kubernetes/cloud-provider-aws/blob/8d478f47a598c752859922d8dcd44f9de585be56/pkg/providers/v1/aws_loadbalancer.go#L165-L175

      [D] CCM subnet discovery - annotation has precedence: https://github.com/kubernetes/cloud-provider-aws/blob/master/pkg/providers/v1/aws.go#L3686-L3691 

       

            rhn-support-mrbraga Marco Braga
            rhn-support-mrbraga Marco Braga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: