You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CustomResourceDefinition "podlogs.monitoring.grafana.com" is invalid: status.storedVersions[0]: Invalid value: "v1alpha1": must appear in spec.versions
I am working on standing up the grafana stack on my cluster.
I installed these charts first.
grafana/loki -- chart v6.4.2
grafana/promtail -- chart v6.15.5
I have not (yet) installed prometheus, or any other grafana helm charts.
upon installing grafana/alloy chart v0.1.1 (with default values) I get the following error when the CRD's are installed.
The CustomResourceDefinition "podlogs.monitoring.grafana.com" is invalid: status.storedVersions[0]: Invalid value: "v1alpha1": must appear in spec.versions
In order to troubleshoot, I deleted the helm chart, and attempted to manually install the crds.yaml
Thats when I received the same error, and realized what was happening.
It seems the similar CRD created in Loki chart is the culprit for the conflict here. We probably have to switch Loki's self-monitoring from Agent to Alloy in the long run.
I managed to dig out this workaround in another thread. Hope this helps out!
Thanks @hainenber this indeed helped me towards the right direction.
I could successfully install Alloy Helm 0.1.1 along Loki Helm 5.47.2, I had to also set the test.enabled to false for Loki as well. Also, manually delete the:
What's wrong?
https://github.com/grafana/alloy/blob/main/operations/helm/charts/alloy/charts/crds/crds/monitoring.grafana.com_podlogs.yaml
Steps to reproduce
https://grafana.com/docs/alloy/latest/get-started/install/kubernetes/
I am working on standing up the grafana stack on my cluster.
I installed these charts first.
grafana/loki -- chart v6.4.2
grafana/promtail -- chart v6.15.5
I have not (yet) installed prometheus, or any other grafana helm charts.
upon installing grafana/alloy chart v0.1.1 (with default values) I get the following error when the CRD's are installed.
In order to troubleshoot, I deleted the helm chart, and attempted to manually install the crds.yaml
Thats when I received the same error, and realized what was happening.
System information
k3s v1.29.3
Software version
No response
Configuration
chart is installed via flux
Logs
No response
The text was updated successfully, but these errors were encountered: