Kubernetes https service exposure

11/25/2018

I currently have a Google Kubernetes load balancer service with an external endpoint over http/port 80. How can I expose this service on a secure endpoint over https/port 443. For my application’s purposes, I need to be able to use an https URL. I have read some documentation about ingress etc but it hasn’t particularly made sense to me. I was hoping someone could please specifically explain how to go about changing my http endpoint to an https endpoint? Do I need to get an SSL certificate? Make any modifications to the YAML of my Kubernetes cluster or can I achieve this simply through the GUI/GCP console?

Thanks!

-- Harry Stuart
google-cloud-platform
https
kubernetes

1 Answer

12/4/2019

Quoting this view on GCP:

In Google Kubernetes Engine, you can use Ingresses to create HTTPS load balancers with automatically configured SSL certificates.

Important

The product is still in Beta, which means it's not yet totally recommended for production, but I've set it up for a couple of clusters now and it seems to be working fine.

-- Joel
Source: StackOverflow