diff --git a/docs/help.rst b/docs/help.rst index 2afea74e1..6205e7482 100644 --- a/docs/help.rst +++ b/docs/help.rst @@ -247,3 +247,29 @@ Alert Manager is not working resources: requests: storage: 10Gi + + +CRD issues +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. details:: CustomResourceDefinition.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" is invalid: metadata.annotations: Too long + + This is often a CRD issue which can be fixed with :ref:`these instructions ` To verify this, open the ArgoCD error logs and look for more details. + + .. image:: /images/Argocd_crd_issue_fix.png + :width: 400 + :align: center + +.. details:: one or more objects failed to apply... CustomResourceDefinition.apiextensions.k8s.io "prometheusagents.monitoring.coreos.com" is invalid + + This indicates potential discrepancies between the version of Prometheus you are trying to use and the version of the CRDs in your cluster. + + Follow this guide for :ref:`upgrading CRDs from an older version `. + +.. details:: CustomResourceDefinition.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" is invalid + + + This indicates potential discrepancies between the version of Prometheus you are trying to use and the version of the CRDs in your cluster. + + Follow this guide for :ref:`upgrading CRDs from an older version `. + diff --git a/docs/images/Argocd_crd_issue_fix.png b/docs/images/Argocd_crd_issue_fix.png new file mode 100644 index 000000000..7d8cf50bf Binary files /dev/null and b/docs/images/Argocd_crd_issue_fix.png differ diff --git a/docs/setup-robusta/gitops/argocd.rst b/docs/setup-robusta/gitops/argocd.rst index 99ee79d63..027bc2edc 100644 --- a/docs/setup-robusta/gitops/argocd.rst +++ b/docs/setup-robusta/gitops/argocd.rst @@ -120,8 +120,9 @@ Finally, run ``robusta logs`` from your cli and make sure there is no error. On some Robusta versions, the sync might fail with ``CustomResourceDefinition.apiextensions.k8s.io “prometheuses.monitoring.coreos.com” is invalid: metadata.annotations: Too long: must have at most 262144 bytes``. - To solve it, use the workaround proposed `here `_ + To solve it, use the workaround proposed :ref:`here `. + Configure ArgoCD Declaratively --------------------------------