-
Notifications
You must be signed in to change notification settings - Fork 233
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
configure-cloud-routes = false on AWS #725
Conversation
Signed-off-by: Artiom Diomin <artiom@loodse.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kron4eg 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 |
/retest |
1 similar comment
/retest |
/rest |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is an option because we'll not be able to use all cloud features, such as type: LoadBalancer
Services. This is a similar problem we had with GCE too.
For instance, creating a LoadBalancer Service fails with:
Normal EnsuringLoadBalancer 2m18s (x7 over 7m37s) service-controller Ensuring load balancer
Warning SyncLoadBalancerFailed 2m17s (x4 over 7m35s) service-controller Error syncing load balancer: failed to ensure load balancer: Multiple tagged security groups found for instance i-<id>; ensure only the k8s security group is tagged; the tagged groups were sg-<id-1>(<name-1>) sg-<id-2>(<name-2>)
Warning UpdateLoadBalancerFailed 48s (x3 over 7m29s) service-controller Error updating load balancer with new hosts map[<node-1-name>:{} <node-2-name>:{} <node-3-name>:{}]: Multiple tagged security groups found for instance i-<id>; ensure only the k8s security group is tagged; the tagged groups were sg-<id-1>(<name-1>) sg-<id-2>(<name-2>)
kube-controller-manager
logs show the same, however, there is also this:
W1030 17:30:19.345638 1 aws.go:3255] No tagged subnets found; will fall-back to the current subnet only. This is likely to be an error in a future version of k8s.
The only proper way to solve this is to properly tag our resources, otherwise, we are just going to run into more and more problems. Once we do that, type: LoadBalancer
Services should start to work again, but also, the annoying logs from kube-controller-manager
should be gone.
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: 44ea1b2916631ff27430f2938cda252318bcc2c5
|
What this PR does / why we need it:
Fixes log spamming regarding cloud-routes on AWS
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #627