-
Notifications
You must be signed in to change notification settings - Fork 137
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
Update monitoring manifests to be deployed in waves #44
Comments
Current workaround is to sync the kfdef manually then click the overall sync button. |
ah that's a good point, thanks @tumido ! |
Hey folks, @hemajv was running into some issues with overrides for grafana dashboard deployment that me think a little further. We probably don't want all dashboards to go into ODH overrides either as there are some cases in which we will have dashboards that are user specific (say some MOC user wants to visualize time series data). I think these types of dashboards should be deployed via ArgoCD. So to summarize:
|
we don't have that |
I like @anishasthana's suggestion. In the 2nd case, if odh has not deployed |
With the increasing amount of dashboards we'd probably like to collocate them with the application they are monitoring, right? So putting everything within ODH may not be the best idea when it comes to repo sanity and KISS. I agree with that point. However we currently don't have a solution for the failed syncs. The auto sync you're suggesting @4n4nd won't work unfortunately. That's actually the core reason why this issue was created. The auto sync retries only on the https://argoproj.github.io/argo-cd/user-guide/auto_sync/#automated-sync-semantics Another aspect is that this error state would happen only on fresh cluster deployments, because CRDs are required to be deployed only once. However it still means that somebody must initiate the sync manually for all the apps with a dashboard in them on every fresh cluster deployment. I don't really want to introduce manual steps into the workflows. |
@tumido it also says you can enable selfHeal and it will try again |
yes that is true. And it's a bit confusing as well. If I understand it properly, I'll try spinning up an instance later on, to see how it would behave, before we draw any conclusion here. I'm sorry about this, but I'm starting to be rather super cautious about these things. btw, this way we'll screenshot all their docs in here. 😄 Paragraph by paragraph. 😄 We have to stop at some point. |
Actually, a clever way to workaround this completely would be to leverage the operate-first/blueprint#19 and just include the CRDs to the |
We would have to ensure we're pulling the appropriate CRDs, i.e. the same ones that ODH would be intending to install. I'm wondering how ODH handles' it's diffs when running reconcilliations. ArgoCD will add a label to the manifests it deploys, so in this case the CRDs, that would already introduce at least 1 change between the two. When ODH is deployed, would it try to fight with ArgoCD for these CRDs? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. /close |
@sesheta: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
When deploying the monitoring setup in quicklab (via argocd), ran into the following
Application Sync Error
:The monitoring manifests should be updated to be deployed in waves: https://argoproj.github.io/argo-cd/user-guide/sync-waves/
so that the kfdef is deployed first, and then followed by the grafana/prometheus custom resources
cc @HumairAK @4n4nd
The text was updated successfully, but these errors were encountered: