Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

298
Views
Ingress Controller annotations for GCP cloud

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

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I don't think you will find something like a list of all GCP Ingress annotations. The only ones close to it can be found on Github.

If you think that list of all GCP annotations would be useful, you can file a Feature Request at Google Public Issue Tracker and ask for changes to the documentation with all the annotations supported by GKE Ingress.

In some cases you can use GCP LB (like HTTP(S) Load Balancer) + NEG + GKE, but accordingly to the doc Choosing a load balancer, only External Network TCP/UDP support any LoadBalancer destination ports and accordingly to the doc Zonal network endpoint groups overview it's not possible to use External TCP/UDP Network Load Balancers with NEGs.

However, in your question, you mention that you are using the annotation kubernetes.io/ingress.class:" nginx ", which means you are using Nginx Ingress (If ingress.class is not specified, it's using default which is kubernetes.io/ingress.class:"gce").

Nginx Ingress has a list of all annotations, but I think the most interesting for you would be TCP and UDP Service Disclosure.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!