Skip to content

GKE Static IP #95

@EamonKeane

Description

@EamonKeane

Thanks a lot for this excellent demo, it really helped me learn kubernetes.

This is not an issue with the demo, it works perfectly as it is with nginx, but I was attempting to adapt it to a production use case with a global static IP.

I attempted to run the demo without installing nginx-ingress and using a static IP on GKE and it didn't work. After 5 minutes, one of the three backend services created by Google remains 'UNHEALTHY' and jenkins does not load. Cross referencing this kube-lego issue where someone else has a similar problem:
jetstack/kube-lego#270

Has anyone else experienced this?

The only values I changed were the below in jenkins-values.yaml.

HostName: MY-HOST
ServiceType: NodePort

Ingress:
Annotations:
kubernetes.io/ingress.class: "gce"
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.global-static-ip-name: ingress-ip

TLS:
  - secretName: MY-HOST
    hosts:
      - MY-HOST

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions