What are the equivalent of the following annotations for GCP ingress? I'm trying to use a custom nginx-template but I can't find the reference for the following annotations. In the github answer they're using AWS but I need to achieve this using GCP.
"service.beta.kubernetes.io/aws-load-balancer-proxy-protocol": "*"
"service.beta.kubernetes.io/aws-load-balancer-backend-protocol": "tcp"
"service.beta.kubernetes.io/aws-load-balancer-ssl-ports": "https"
"service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout": "60"
I'm using ingress class nginx
kubernetes.io/ingress.class: "nginx"
And I'm trying to do Ingress TCP SSL termination in GCP Kubernetes cluster using Ingress controller.
I want the traffic from https://example.com:1234
to be redirect to http://example.com:1234
. The backend port 1234 is HTTP only.
Here's a example for AWS - https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.1/guide/service/annotations/
I need something like that for GCP
cloud-provider
set to GCP? Are you looking for more annotations likecloud.google.com/load-balancer-type:
? – mdaniel