robusta-dev / robusta

Kubernetes observability and automation, with an awesome Prometheus integration
https://home.robusta.dev/
MIT License
2.59k stars 253 forks source link

Unable to sync robusta (with prometheus) correctly with ArgoCD #838

Open tardich opened 1 year ago

tardich commented 1 year ago

Describe the bug Deploying Robusta with ArgoCD using the values generated by robusta gen-config. Getting an error while synchronizing:

one or more objects failed to apply, reason: CustomResourceDefinition.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

Expected behavior CRD should be able to synchronize as any other object

Additional context RKE2 cluster, kubernetes v1.25.3, ArgoCD v2.6.7

pavangudiwada commented 1 year ago

Hi @tardich here is a workaround for this issue. https://github.com/prometheus-community/helm-charts/issues/1500#issuecomment-1132907207

We also have separate instructions for ArgoCD here in our new docs https://docs.robusta.dev/structure/setup-robusta/gitops/argocd.html#install-with-argocd.

Does this help?

uzukwujp commented 3 weeks ago

I am currently facing a similar issue on EKS. When I install using Helm CLI it works well. Subsequently When I tried installing using Argocd, I get this error: Job has reached the specified backoff limit. Its comming from kube-prometheus-stack

arikalon1 commented 1 week ago

hi @uzukwujp

Did you try following this guide?