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

Karma is unable to resolve info from alertmanager through seed proxy #8008

Closed
michalvanco opened this issue Oct 14, 2021 · 0 comments · Fixed by #8016
Closed

Karma is unable to resolve info from alertmanager through seed proxy #8008

michalvanco opened this issue Oct 14, 2021 · 0 comments · Fixed by #8016
Assignees

Comments

@michalvanco
Copy link

User Story
After installing the MLA stack according to documentation, karma pod is logging following error:

{"level":"error","error":"request to http://seed-proxy-kubermatic.kubermatic.svc.cluster.local:8001/api/v1/namespaces/monitoring/services/alertmanager:web/proxy/metrics failed with 403 Forbidden","alertmanager":"kubermatic","uri":"http://seed-proxy-kubermatic.kubermatic.svc.cluster.local:8001/api/v1/namespaces/monitoring/services/alertmanager:web/proxy/","message":"Request failed"}
{"level":"error","error":"response status code does not match any response statuses defined for this endpoint in the swagger spec (status 403): {}","alertmanager":"kubermatic","message":"Collection failed"}

And karma UI display such error (403) as well.

Issue is coming from this place: https://github.com/kubermatic/kubermatic/blob/master/pkg/controller/master-controller-manager/seed-proxy/resources.go#L381

After setting the --accept-hosts='^.*' it works.

Environment

  • KKP 2.18.1
  • k8s 1.22.2 (or 1.21.5)

Acceptance criteria
Karma pod is working out of the box on the common KKP installation and it's possible to see alerts from alertmanager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants