-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 1950284: Annotate services of type LoadBalancer with user tags (AWS only) #578
Bug 1950284: Annotate services of type LoadBalancer with user tags (AWS only) #578
Conversation
/hold Accumulating things to do as I discover them and also to provide a link for the Jira ticket. |
268d6cf
to
7225afa
Compare
a0cef45
to
a92bb3e
Compare
a92bb3e
to
04ca6e6
Compare
04ca6e6
to
65d537d
Compare
/retest |
@frobware: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
048ce97
to
923b024
Compare
/test e2e-aws |
/retest |
923b024
to
74952e2
Compare
Thanks for catching this. Done in af1839e. |
If the infrastructure object (on AWS) has additional user supplied resource tags specified then annotate services of type LoadBalancer as follows: "service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags": "Key1=Value1,KeyN=ValueN" https://issues.redhat.com/browse/NE-563 This is only done at create time, per the enhancement proposal. Existing services are not tagged. Equally, no reconciliation is done if the resource keys/values change.
af1839e
to
946dc1e
Compare
/skip |
/hold cancel |
/retest |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: frobware, Miciah The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-aws-operator |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
5 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
failed to acquire lease: resources not found /test e2e-gcp-serial |
/test e2e-aws |
/retest |
failed to acquire lease: resources not found /test e2e-gcp-serial |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@frobware: All pull requests linked via external trackers have merged: Bugzilla bug 1950284 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-4.7 |
@frobware: #578 failed to apply on top of branch "release-4.7":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR addresses https://issues.redhat.com/browse/NE-563.
This is waiting on:
If there are
AWS.UserTags
defined then services of type LoadBalancerwill be annotated with the following annotation.
Values for this annotation are encoded as a comma separated list. For example:
The conceptual docs for this annotation are documented here:
https://kubernetes.io/docs/concepts/services-networking/service/#aws-load-balancer-additional-resource-tags
The operator will only add the annotation on create; there is no
ongoing reconciliation so changes to
AWS.UserTags
will not propagateonce the LoadBalancer service has been created.
There are restrictions on the key and values, documented here:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html
Resources involved for classic (CLB) and network (NLB) differ.
Atomic create/tag issues on CLBs:
When a CLB is created (w.r.t. tags) the following happens:
then:
Atomic create/tag issues on NLBs:
When an NBL is created (w.r.t. tags) the following happens:
then:
Given that we only tag on create the following issues will not bite
immediately, but capturing them here for completeness: