keephq / helm-charts

Charts for Keep https://github.com/keephq/keep
MIT License
5 stars 6 forks source link

[BUG]: Can't connect Prometheus provider on k8s/Kind #17

Open guymeron opened 3 months ago

guymeron commented 3 months ago

Description of the bug

Unable to add Prometheus provider. Error: An error occurred while fetching the data.

Steps To Reproduce

Setup Kind docker kind create cluster --name=keep-kind Install kube-state-metrics Helm Chart helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm install monitoring prometheus-community/kube-state-metrics Install Keep Helm Chart helm repo add keephq https://keephq.github.io/helm-charts helm pull keephq/keep helm install keep keephq/keep Port forward frontend k port-forward svc/keep-frontend 3000 Try to setup Prometheus provider From http://localhost:3000/providers select Prometheus

Additional Information

No response

talboren commented 3 months ago

Hey @guymeron :) Thank you for this issue! Can you provide some additional context? Do you have a screenshot from the UI? Can you maybe include the logs from keep-backend?

guymeron commented 3 months ago

Log files keep-backend.log keep-frontend.log

guymeron commented 3 months ago
image
talboren commented 3 months ago

Thanks @guymeron!

  1. I invite you to join our Slack, it'll be easier to communicate :)
  2. Can you try removing a k8s secret called keep-webhook from the namespace where Keep is deployed? It's not a proper solution but I think it'll make it work for you for now.