Reputation: 1
regarding bellow information I want to have HTTPS traffic to Gateway API controller deployment.
have GKE cluster, GCP Global Application Loadbalancer (GALB). within GKE I installed Nginx Fabric Gateway API Controller through Helm.Installation with Helm
service annotation passed through helm value: cloud.google.com/neg: '{"exposed_ports": {"443":{"name": "CLUSTER-NAME-nginx-gateway-443-neg"}}}'
the same Network Endpoint Group name referred in GCP Backend service attached to GALB. Google managed Certificate used in GALB as TLS termination for My-Host hostname. Google DNS A record defined which points to GALB External IP (My-Host). My-Host is FQDN.
Result: I can achieve the kubernetes backend service through
https://My-Host/gw/
apparently the traffic will be terminated on GALB and it passes plaintext to Gateway API Controller.
now I have created
with these changes
I am able to call application from another pod by calling Nginx Gateway API controller deployment service:
curl -L http://Gateway API controller service.Gateway API controller namespace.svc/gw/
and I see redirect happens by using -I flag.
anyhow my issue is that by calling app from outside
curl -L https://My-Host/gw/
I get following error
upstream connect error or disconnect/reset before headers. retried and the latest reset reason: remote connection failure, transport failure reason: TLS_error:|268436568:SSL routines:OPENSSL_internal:TLSV1_ALERT_UNRECOGNIZED_NAME:TLS_error_end:TLS_error_end
searched many say it is possibly related to Host Name is not covered by certificate. don't have any clue how to debug.
logging is enabled on GCP Backend logging level is debug in Nginx config map
I see a record in stack driver which does no0t contain useful info related to error in Gateway API controller deployment log I do not see anything
Upvotes: 0
Views: 32