-
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
committed
Oct 1, 2024
1 parent
0d7330e
commit dc714d1
Showing
3 changed files
with
47 additions
and
0 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 docs. |
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