apiVersion: extensions/v1beta1 kind: Ingress metadata: name: static-ip # Assumes a global static ip with the same name exists. # You can acquire a static IP by running # gcloud compute addresses create test-ip --global annotations: kubernetes.io/ingress.global-static-ip-name: "test-ip" kubernetes.io/ingress.class: "gce" spec: tls: # This assumes tls-secret exists. - secretName: tls-secret backend: # This assumes http-svc exists and routes to healthy endpoints. serviceName: http-svc servicePort: 80