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

[Breaking] Upgrade grafana-agent to 0.2.12 #944

Closed
wants to merge 3 commits into from
Closed

Conversation

NissesSenap
Copy link
Contributor

@NissesSenap NissesSenap commented Feb 22, 2023

The deployment of the operator updates a few selectors....

│ Error: cannot patch "grafana-agent-operator" with kind Deployment: Deployment.apps "grafana-agent-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"grafana-agent-operator", "app.kubernetes.io/name":"grafana-agent-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

You manually need to deplete the deployment before applying the change.

k delete deployments.apps grafana-agent-operator -n grafana-agent

@NissesSenap NissesSenap changed the title Upgrade grafana-agent to 0.6.0 Upgrade grafana-agent to 0.2.12 Feb 22, 2023
@NissesSenap NissesSenap changed the title Upgrade grafana-agent to 0.2.12 [Breaking] Upgrade grafana-agent to 0.2.12 Feb 22, 2023
@landerss1
Copy link
Contributor

Grafana agent has been deprecated and will be replaced with Grafana Alloy. Upon migration to install with Flux, we understood that upgrading the Grafana agent to latest wasn't something that could be easily done. Furthermore, we are re-thinking the way we handle monitoring, so it wouldn't be well spent time trying to upgrade this module at this point. Therefore, closing this.

@landerss1 landerss1 closed this May 27, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants