Giter VIP home page Giter VIP logo

Comments (9)

MarkCupitt avatar MarkCupitt commented on June 16, 2024 2

@NissesSenap kustomize - namespace_scoped, except I download this yaml manually

https://github.com/grafana/grafana-operator/releases/download/v5.7.0/kustomize-namespace_scoped.yaml

The crd is missing from that file

from grafana-operator.

NissesSenap avatar NissesSenap commented on June 16, 2024 1

This should now be solved as a part of https://github.com/grafana/grafana-operator/releases/tag/v5.8.0
Thanks for reporting this issue @MarkCupitt

from grafana-operator.

theSuess avatar theSuess commented on June 16, 2024 1

@peytonyip this issue specifically references kustomize as the installation method.

The issue you are facing is an upstream helm bug/missing feature (helm/helm#11969, helm/helm#6581, helm/helm#12362).

A workaround for this is to apply the CRDs manually. We publish the CRDs directly so you can use this command to upgrade them:

kubectl apply -f https://github.com/grafana/grafana-operator/releases/download/v5.8.1/crds.yaml

(you might need to also add --server-side and --force-conflicts for this to work)

from grafana-operator.

NissesSenap avatar NissesSenap commented on June 16, 2024

@MarkCupitt can you explain exactly how installed the operator so we can reproduce the error?

from grafana-operator.

Leo1003 avatar Leo1003 commented on June 16, 2024

Same here, we are using FluxCD to install Grafana Operator from oci://ghcr.io/grafana/grafana-operator:v5.7.0

grafana-operator-controller-manager keeps entering CrashLoopBackOff state since it cannot find GrafanaAlertRuleGroups CRD on the cluster

from grafana-operator.

pb82 avatar pb82 commented on June 16, 2024

Alerting CRDs are missing here and make all doesn't include them. Looking into it now.

from grafana-operator.

theSuess avatar theSuess commented on June 16, 2024

The fix for this is already in the works in #1464

from grafana-operator.

peytonyip avatar peytonyip commented on June 16, 2024

After updating to 5.8.1(or even 5.8.0 ), the issue still persists. The update command used was: helm upgrade -i grafana-operator oci://ghcr.io/grafana/helm-charts/grafana-operator --version v5.8.1
the log show:

2024-04-05T06:55:04Z	ERROR	controller-runtime.source.EventHandler	if kind is a CRD, it should be installed before calling Start	{"kind": "GrafanaAlertRuleGroup.grafana.integreatly.org", "error": "no matches for kind \"GrafanaAlertRuleGroup\" in version \"grafana.integreatly.org/v1beta1\""}
sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1
	sigs.k8s.io/[email protected]/pkg/internal/source/kind.go:63
k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2
	k8s.io/[email protected]/pkg/util/wait/loop.go:87
k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext
	k8s.io/[email protected]/pkg/util/wait/loop.go:88
k8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel
	k8s.io/[email protected]/pkg/util/wait/poll.go:33
sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1
	sigs.k8s.io/[email protected]/pkg/internal/source/kind.go:56

from grafana-operator.

peytonyip avatar peytonyip commented on June 16, 2024

@theSuess Thanks!this resolved my issue

from grafana-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.