1 Answer
- Newest
- Most votes
- Most comments
0
This is the expected behavior.
The healthy targets of the ELB are the kubernetes nodes which have the ingress-nginx pods running on them, and looking at the manifest file you shared you have 4 replicas. So in case the 4 nginx pods are scheduled each to a different node you will see 4 healthy targets, and if some of them are scheduled to same node you will see less.
The ELB is doing the load balancing among the ingress-nginx pods and the ingress-nginx pods are doing the layer 7 load balancing towards the other kubernetes microservices.
Relevant content
- asked 5 years ago
- Accepted Answerasked a year ago
- asked 2 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 7 days ago
In our previous cluster (1.22) we had the same setup with 35 nodes (4 nginx-ingress pods) and all of them were healthy, why is it different?
What is the
externalTrafficPolicy
value in the ingress-nginx service? (according to the snippet you provided it'sCluster
but can you confirm this is whats actually being used and notLocal
) Best if you can share the output ofkubectl get svc -n ingress-nginx ingress-nginx -o yaml
attached to the question