robusta icon indicating copy to clipboard operation
robusta copied to clipboard

Unable to sync robusta (with prometheus) correctly with ArgoCD

Open tardich opened this issue 2 years ago • 3 comments

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

tardich avatar Apr 21 '23 03:04 tardich

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?

pavangudiwada avatar Apr 24 '23 08:04 pavangudiwada