You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
When k8gb is deployed on AWS, the k8gb-coredns service creates an AWS Network Load Balancer with TCP health check, but no TCP port is available, so the target group never gets healthy.
Expected behavior
The k8gb-coredns should expose a TCP port along with the UDP, so the target group gets healthy, as UDP health checks are not supported by AWS NLB.
Workaround
In case you are facing the same issue, you can overcome the error if you add the following annotation to your values.yaml within coredns:
The port must be filled with the Nginx service nodePort. As Nginx has TCP ports exposed, the health check will work.
Screenshots
Additional context
Me and @ytsarev tried to check if it was possible to add extra ports through CoreDNS helm chart, but the service ports are imported using a helper, and not .Values.xx. References:
Describe the issue
When k8gb is deployed on AWS, the k8gb-coredns service creates an AWS Network Load Balancer with TCP health check, but no TCP port is available, so the target group never gets healthy.
Generated service example:
To Reproduce
Deploy k8gb following: https://www.k8gb.io/docs/deploy_route53.html
Expected behavior
The k8gb-coredns should expose a TCP port along with the UDP, so the target group gets healthy, as UDP health checks are not supported by AWS NLB.
Workaround
In case you are facing the same issue, you can overcome the error if you add the following annotation to your values.yaml within coredns:
service.beta.kubernetes.io/aws-load-balancer-healthcheck-port: "<nginx_service_port>"
The port must be filled with the Nginx service nodePort. As Nginx has TCP ports exposed, the health check will work.
Screenshots
Additional context
Me and @ytsarev tried to check if it was possible to add extra ports through CoreDNS helm chart, but the service ports are imported using a helper, and not .Values.xx. References:
The text was updated successfully, but these errors were encountered: