Skip to content
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

Please allow disabling application spec in events #18310

Closed
michalrysavy-ext95730 opened this issue May 20, 2024 · 3 comments · Fixed by #18458
Closed

Please allow disabling application spec in events #18310

michalrysavy-ext95730 opened this issue May 20, 2024 · 3 comments · Fixed by #18458
Labels
enhancement New feature or request

Comments

@michalrysavy-ext95730
Copy link

Summary

Hello all,

I found out this change - app spec in events and I believe it would be better to have this functionality switchable.

Please make a possibility to switch it off.

Motivation

We have two troubles with some application teams and if both problems concern the same application, this functionality will have significant impact to etcd size.

Problems are:

  • some applications have huge spec in Application resource because of java truststores (for example) in values - in this case the values size is about 100-200kB
  • some applications, especially in dev environments, have long-term issues in Application resource or in Helm chart which cause synchro loops and huge amount of events (thousands per an hour)

If one application had both problems at the same time, this functionality could actually cause 8000 events, each 200kB in size - in total 1.5GiB in etcd.

Proposal

It would be great to make a switch in argocd-cm ConfigMap.

@michalrysavy-ext95730 michalrysavy-ext95730 added the enhancement New feature or request label May 20, 2024
@tooptoop4
Copy link

agree, really need #18205

@crenshaw-dev
Copy link
Collaborator

I think I'd be in favor of simply reverting the change to log the app spec and noting the removal in the upgrade notes. I think the additional logs have been less helpful for debugging than I'd hoped.

@jannfis
Copy link
Member

jannfis commented May 30, 2024

I created #18458 for reverting the original PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants