Multiple domains and SSL Certificates with GCP's kubernetes ingress

9/3/2018

I am exposing a micro service running on GCP's kubernetes engine via Google's Ingress load balancer. According to Here the load balancer supports multiple SSL certificates for different domain namess.

However, only the first specified SSL certificate is returned and therefore I receive a Your connection is not private warning for a domain-b. I would love to make an ingress controller for several domains each with their own certificate.

The following approach fails:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: some-name
spec:  
  tls:
  - hosts: 
    - www.domain-a.net
    - domain-a
    secretName: domain-a-net
  - hosts: 
    - www.domain-b.org
    - domain-b.org
    secretName: domain-b-org
  backend:
    serviceName: some-name
    servicePort: 443

Any idea how to correctly benefit from Google's Ingress Multi SSL?

-- Robert Weindl
gcloud
google-cloud-platform
google-kubernetes-engine
kubernetes
kubernetes-ingress

1 Answer

9/11/2018

Updating GCE and GKE to latest version, and then redeploying the Ingress resource helped!

-- Robert Weindl
Source: StackOverflow