Comments (7)
I see. I don't think there's anything we can do about this from an operator perspective (as the data representation is handled differently in k8s vs Grafana).
I'll close this issue and check with the alerting team to see if we can add a separate export format for an operator compatible CR into Grafana
from grafana-operator.
@AlexEndris it sounds like the Operator removes fields that are not in the spec and then ArgoCD applies them again. In that case, wouldn't it make sense to remove those fields (and use the 5m0s
format for the other)?
from grafana-operator.
@pb82 Thank you for your reply. My point was that the yaml is just a copy & paste from what grafana itself exports in version 10.4.1. I assumed that those would be the same.
from grafana-operator.
The duration fields in the Kubernetes custom resource are using a different duration type than the Grafana export, that's why the saved resource shows a different to the Grafana export.
Does this cause any problems or is it just a cosmetic issue?
from grafana-operator.
@theSuess It actually causes ArgoCD to detect a difference and tries to constantly sync the state, overwriting the manifest over and over. We had to adjust the export manually to stop this.
from grafana-operator.
@theSuess Thank you for the consideration! That would definitely help reducing manually having to change this. ❤️
from grafana-operator.
until this is solved I did this:
grafana.integreatly.org/GrafanaAlertRuleGroup:
ignoreDifferences: |
jqPathExpressions:
- .spec.rules[].data[].relativeTimeRange
- .spec.rules[].isPaused
a very bad solution but this issue create too much load on argocd
from grafana-operator.
Related Issues (20)
- [Bug] Deployment Reconcile only runs at startup HOT 2
- [Bug] "NoMatchingFolder" when GrafanaAlertRuleGroup created in the same helm/kubectl apply as the Grafana resource HOT 5
- [question] noProxy setting in spec.deployment.httpProxy of Grafana resource fails to take effect HOT 1
- [Bug]GrafanaDashboard resource created dashboards are not cleaned up when removed HOT 5
- External grafana config
- grafana-operator to support ppc64le HOT 1
- [Bug] GrafanaAlertRuleGroup not deploying after Folder, Reconciler does not run for Alert Rule Groups HOT 2
- GrafanaContactPoint doesn't support values from secretkeyref HOT 2
- Document best practices for editing dashboards in grafrana while the operator is active HOT 1
- Add folder UID to grafanaFolder HOT 4
- Basic Authentication support for Grafana Dashboard resources when using url HOT 1
- [Bug] Unable to deploy Grafana with Persistent Volume on OpenShift 4.15 HOT 4
- How to enable Grafana HTTPS in V5 on Openshift.
- Specify additional headers for externally managed Grafana HOT 1
- [Bug] Alert Rule Group failed to be applied for 1 out of 1 instances folder with uid not found HOT 9
- Mandatory status.conditions breaks operator upgrade (5.9.2 -> 5.9.10) HOT 1
- Default operator (controller) memory resources are too low HOT 8
- [Bug] Alert rule groups block deletion of folders when removed at the same time
- [Bug] Operator assigns datasource to wrong organization HOT 6
- New `grafanafolder#spec.uid` property for stable UIDs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-operator.