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

chore: upgrade kube-prometheus-stack to 42.1.0 #2651

Merged
merged 9 commits into from
Nov 30, 2022
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- fix(setup):allow credentials to not be set if setup is disabled [#2572]
- fix(logs): prevent Fluent Bit from doing metadata enrichment [#2512]
- chore(kube-prometheus-stack): update kube-prometheus-stack chart to 39.11.0 [#2446]
- chore(kube-prometheus-stack): update kube-prometheus-stack chart to 42.1.0 [#2446][#2651]
sumo-drosiek marked this conversation as resolved.
Show resolved Hide resolved
- feat(metrics)!: disable Thanos by default [#2514]
- fix(fluentd): Removing PodSecurityPolicy for fluentd [#2605]
- feat!: refactor event collection configuration [#2444]
Expand Down Expand Up @@ -140,6 +140,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#2626]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2626
[#2622]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2622
[#2643]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2643
[#2446]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2446
sumo-drosiek marked this conversation as resolved.
Show resolved Hide resolved
[#2651]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2651
sumo-drosiek marked this conversation as resolved.
Show resolved Hide resolved
[#2648]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2648
[#2649]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2649
[#2654]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2654
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:
repository: https://fluent.github.io/helm-charts
condition: fluent-bit.enabled,sumologic.logs.enabled
- name: kube-prometheus-stack
version: 39.11.0
version: 42.1.0
repository: https://prometheus-community.github.io/helm-charts
condition: kube-prometheus-stack.enabled,sumologic.metrics.enabled
- name: falco
Expand Down
3 changes: 3 additions & 0 deletions docs/v3-migration-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ Upgrade of kube-prometheus-stack is a breaking change and requires manual steps:
Error: UPGRADE FAILED: cannot patch "collection-kube-state-metrics" with kind Deployment: Deployment.apps "collection-kube-state-metrics" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"collection", "app.kubernetes.io/name":"kube-state-metrics"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
```

- In case of overriding `kube-prometheus-stack.**.repository`, please follow the `kube-prometheus-stack` [migration doc][kube-prometheus-stack-image-migration] on that.
sumo-drosiek marked this conversation as resolved.
Show resolved Hide resolved

### Replace special configuration values marked by 'replace' suffix

Mechanism to replace special configuration values for traces marked by 'replace' suffix was removed and following special values in configuration are no longer automatically replaced and they need to be changed:
Expand Down Expand Up @@ -184,3 +186,4 @@ Error from server: admission webhook "tailing-sidecar.sumologic.com" denied the
Please try to remove pod later.

[metrics-server-upgrade]: https://github.com/bitnami/charts/tree/5b09f7a7c0d9232f5752840b6c4e5cdc56d7f796/bitnami/metrics-server#to-600
[kube-prometheus-stack-image-migration]: https://github.com/prometheus-community/helm-charts/tree/kube-prometheus-stack-42.1.0/charts/kube-prometheus-stack#from-41x-to-42x