Replies: 5 comments 2 replies
-
Hi @samstride I attempted to set this up in my environment, but the backend for the Ingress never became healthy. It probably has something to do with my configuration. That being said, I think you can accomplish this with just the basic ingress configuration that you have. I don't know that you need the Have you tried just this: apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: company-ingress
annotations:
kubernetes.io/ingress.global-static-ip-name: redacted
networking.gke.io/managed-certificates: redacted
kubernetes.io/ingress.allow-http: "false"
spec:
rules:
- host: api.company.io
http:
paths:
- backend:
serviceName: voting-service # <- voting-service is a service in default namespace
servicePort: 9000
- host: linkerd.company.io
http:
paths:
- backend:
serviceName: linkerd-web
servicePort: 8084 |
Beta Was this translation helpful? Give feedback.
-
@cpretzer , Yup, I tried that already and again now and this is the error message: Warning Translate 52s (x14 over 114s) loadbalancer-controller Translation failed: invalid ingress spec: could not find service "default/linkerd-web" My understanding is that the ingress in |
Beta Was this translation helpful? Give feedback.
-
@samstride I did a bit of research and it looks like GKE doesn't support the ExternalName approach. It sounds like it might work if you deploy your own ingress like ambassador or nginx, but I'm not sure about the GKE ingress. |
Beta Was this translation helpful? Give feedback.
-
@cpretzer , I deleted existing ingress, and created a new ingress in namespace apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: company-ingress
annotations:
kubernetes.io/ingress.global-static-ip-name: redacted
networking.gke.io/managed-certificates: redacted
kubernetes.io/ingress.allow-http: "false"
spec:
rules:
- host: linkerd.company.io
http:
paths:
- backend:
serviceName: linkerd-web
servicePort: 8084 I also changed the service type to Still doesn't work. It turns out that the GKE ingress looks for a |
Beta Was this translation helpful? Give feedback.
-
hi @samstride It looks like the GKE ingress can be configured to use a readiness probe from a container. Have you looked in to that configuration? |
Beta Was this translation helpful? Give feedback.
-
Hey Folks,
I have linkerd deployed in a namespace called
linkerd
.With the help of the internet, I have an ingress setup with GKE managed certs in
default
namespace as follows:I am looking at the docs and I was hoping I could use the single ingress in
default
to accesslinkerd-web
inlinkerd
.Was wondering if anyone has tried this or can help me out with the yaml? Cheers.
Beta Was this translation helpful? Give feedback.
All reactions