Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

probe prometheus server failed #4830

Closed
obeyler opened this Issue Nov 6, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@obeyler
Copy link

obeyler commented Nov 6, 2018

Bug Report

What did you do?
I install prometheus with helm chart and with an ingress rule with path.

helm install --name prometheus stable/prometheus --namespace prometheus -f values.yaml

I set inside default values.yaml:
server:
prefixURL: "/"
baseURL: "https://ingress-ops.nd-int-opmydomain/prometheus"
extraArgs : {"web.route-prefix: "/"}

What did you expect to see?
prometheus server running
**What did you see instead?

image

On pod view :

image

Environment
Kubernetes 1.12

  • Prometheus version:
    prometheus 2.4.3
    prometheus helm chart: 7.3.4

  • Logs:
    2018/11/06 15:42:15 Watching directory: "/etc/config"

@obeyler

This comment has been minimized.

Copy link
Author

obeyler commented Nov 6, 2018

please note that if server.prefixURL="" and server.baseURL="" the pod run well

image

But in our case we need to be under a ingress rule with path

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Nov 7, 2018

Can you try not setting extraArgs to {"web.route-prefix: "/"}?

@obeyler

This comment has been minimized.

Copy link
Author

obeyler commented Nov 7, 2018

Same result :-(

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Nov 7, 2018

Have you tried with prefixURL: "/prometheus"? Also please share the actual CLI flags and the Prometheus deployment configuration.

For future questions, please use our user mailing list, which you can also search.

@obeyler

This comment has been minimized.

Copy link
Author

obeyler commented Nov 9, 2018

It works thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.