-
Notifications
You must be signed in to change notification settings - Fork 2k
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
A CRD is missing when deploying the kube-prometheus-stack with Argo CD #2075
Comments
I ran into (what I think is) the same issue. After digging into the logs it looks like ArgoCD (and
The solution (found here) is to set the |
Thanks, I’ll try that 👍Currently I managed to create the stack with https://github.com/lucj/k8sapps/blob/main/apps/observability/kube-prometheus-stack.yamlLe 20 avr. 2023 à 18:42, Kelton Bassingthwaite ***@***.***> a écrit :
I ran into (what I think is) the same issue. After digging into the logs it looks like ArgoCD (and kubectl apply) can't add the previous definition in the last-applied-configuration annotation. I had the error message below:
Error from server (Invalid): error when creating "manifests/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml": CustomResourceDefinition.apiextensions.k8s.io "prom
etheuses.monitoring.coreos.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
The solution (found here) is to set the ServerSideApply=true syncOperation for Argo, or use kubectl create (instead of apply).
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This issue has been automatically marked as stale because it has not had any activity in the last 60 days. Thank you for your contributions. |
This issue was closed because it has not had any activity in the last 120 days. Please reopen if you feel this is still valid. |
When deploying the kube-prometheus-stack with the following definition:
I can see the following CRDs are created:
but I cannot see metrics in the dashboard.
From the logs, the prometheuses.monitoring.coreos.com CRD is missing:
Any idea what could be wrong ?
The text was updated successfully, but these errors were encountered: