Hello

I'm trying to deploy a grafana instance inside Kubernetes (server 1.6.4) in 
GCE. I'm using the following manifests:

- Deployment: https://pastebin.com/HL5KqXtT
- Service: https://pastebin.com/jDQVj7aq
- Ingress: https://pastebin.com/3fR5udh6

It turns out that grafana serves a 302 on '/' but the default healthcheck 
expects a 200 on '/'. As you can see, there is a custom readinessProbe in 
the Deployment.

Once I post the previous resources to the kube-apiserver, everything is 
created as expected. Concretely, the Ingress gets a public ip4 but the 
healtcheck uses '/' instead of '/login' as path. In this state, I get a 502 
if I curl the public ip4.

The problem is fixable by manually changing the probe path to '/login' in 
the GCE console.

Is this a bug or I'm missing something?

For reference:
- https://github.com/kubernetes/contrib/issues/1867

Regards,
maykel

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to