-
Spike
-
Resolution: Won't Do
-
Blocker
-
None
-
8
-
False
-
None
-
False
-
OCPSTRAT-1154 - AWS Public IPv4 Address cost mitigation
-
-
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:
- https://issues.redhat.com/browse/OCPSTRAT-1154?focusedId=24123639&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-24123639
- NE-705.
- https://issues.redhat.com/browse/OCPSTRAT-546
- [A] Slack channel #wg-aws-ipv4-cost-mitigation https://redhat-internal.slack.com/archives/C066CA8U02Y/p1707500942677829 (private)
[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