Service controller doesn't populate TargetGroups #915
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
I deployed the controller and configured NLB type Service.
The service was created in AWS with associated target group but the target group is empty
What you expected to happen:
I expected the
service-lb-controller
controller to populate the target groupHow to reproduce it (as minimally and precisely as possible):
I deployed the controller using manifest generated like this:
And used IAM policy from the docs. I then created the
Service
object like this:Once applied ELB was created together with health checks and TargetGroups. However target groups are empty.
I also noticed that security group entries were not added.
Anything else we need to know?:
This used to work with in-tree controller. We disabled the in-tree and moved to external and the Service controller no longer works in the same cluster.
Logs show successful calls to retrieve node details from AWS, for example:
I also confirmed with CloudTrail that there are no permission error with API calls.
If I add nodes manually to the Target group they are removed from the Target group.
Environment:
kubectl version
):Ubuntu 20.04.6 LTS
uname -a
):5.15.0-1058-aws #64~20.04.1-Ubuntu SMP
kubeadm
/kind bug
The text was updated successfully, but these errors were encountered: