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

Allow to annotate the PodMonitor resource #482

Open
dannyyy opened this issue Jan 4, 2025 · 0 comments
Open

Allow to annotate the PodMonitor resource #482

dannyyy opened this issue Jan 4, 2025 · 0 comments

Comments

@dannyyy
Copy link

dannyyy commented Jan 4, 2025

Currently, the Helm chart only allows adding additional labels with podMonitorAdditionalLabels. Could you extend the Helm chart to also add additional annotations (e.g. podMonitorAdditionalAnnotations?

I'm using VictoriaMetrics which creates a VMPodScrape resource from any PodMonitor (same for ServiceMonitor). In conjunction with ArgoCD, this causes an issue because the actual and target state deviates, since the VMPodScrape is created and maintained by the VictoriaMetrics operator.

Therefore, I need to annotate the PodMonitor with argocd.argoproj.io/compare-options: IgnoreExtraneous. Otherwise I'm running constantly in synchronization issues.

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

No branches or pull requests

1 participant