-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark immutable config settings as such
A few of the yk8s config settings in `k8s-service-layer.prometheus` and `k8s-service-layer.rook` are actually immutable because they feed into the currently immutable `volumeClaimTemplate` field of Kubernetes objects. Example: The `k8s-service-layer.prometheus.thanos_storegateway_size` yk8s config setting feeds into the `storegateway.persistence.size` parameter of the bitnami/thanos helm chart which feeds into the `volumeClaimTemplate` field of the `thanos-storegateway` statefulset created. That field is currently immutable making helm updates with the parameter fail. Related-to: kubernetes/enhancements#4650
- Loading branch information
Bruno Schubert
authored and
Tomasz Giemza
committed
Nov 28, 2024
1 parent
93a78c7
commit 10e85f9
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
docs/_releasenotes/1498.fix.mark-immutable-config-settings-as-such
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Marked the following immutable config setting as such: | ||
- ``k8s-service-layer.prometheus.thanos_storegateway_size`` | ||
- ``k8s-service-layer.prometheus.thanos_storegateway_size`` | ||
- ``k8s-service-layer.prometheus.thanos_compactor_size`` | ||
- ``k8s-service-layer.rook.mon_volume_storage_class`` | ||
- ``k8s-service-layer.rook.mon_volume_size`` | ||
- ``k8s-service-layer.rook.osd_volume_size`` | ||
- ``k8s-service-layer.rook.osd_storage_class`` | ||
|
||
A manual workaround to change these settings nonetheless | ||
is outlined in the respective documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters