Open thegaintserver opened 2 months ago
Same issue here, do you found a solution?
I installed kube-prometheus-stack first and deploy loki helm chart for second.
@chainmywallet a BIG no, I've not found any solution. After struggling 3 days I have installed kube-promethues-stack.
Hi all @thegaintserver can you provide your current helm values chart? You should not need the Grafana agent operator as part of the config. In fact, we are deprecating most of this for Grafana Alloy instead is deployed as a separate helm. DId you find the same issues when deploying using the Grafana docs: https://grafana.com/docs/loki/next/setup/install/helm/install-scalable/
I'm facing some errors where unable to install loki helm chart from artifact site, https://artifacthub.io/packages/helm/grafana/loki/3.0.0?modal=install logs are as
2024-07-04T09:03:18.0542327Z Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "loki" namespace: "loki" from "": no matches for kind "GrafanaAgent" in version "monitoring.grafana.com/v1alpha1"
2024-07-04T09:03:18.0543040Z ensure CRDs are installed first, resource mapping not found for name: "loki" namespace: "loki" from "": no matches for kind "PodLogs" in version "monitoring.grafana.com/v1alpha1" 2024-07-04T09:03:18.0543650Z ensure CRDs are installed first]
command I ran as below helm install my-loki grafana/loki --version 3.0.0 ; and tried helm upgrade --install loki --namespace=loki grafana/loki -f ./values.yaml --version 3.0.0 I have uninstalled the grafanaoperator CRD and re-installed the loki helm chart. When I have installed the CRD from this link https://github.com/grafana/helm-charts/blob/main/charts/agent-operator/crds/monitoring.grafana.com_podlogs.yaml
then also I'm getting the same error I have tried to disable the agent in values.yaml as grafanaAgent > installOperator: false then also some other errors coming.
When I have tried to follow this url as per the loki artifact site to udpate CRDS manually then saw that github file is deleted or something.
https://github.com/grafana/agent/tree/main/production/operator/crds
I'm not sure what to do this is my 3rd time I'm trying to install loki and previously i was struggling with loki-stack and later saw that its deprecated.
please help its seems like Loki is most dangerous to configure and use.