-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Helm: Revert Scheduler storage quota size to
1Gi
(#8107)
In v1.14.3, the storage quota size for the Scheduler volume was increased from `1Gi` to `16Gi`. This is because users where encountering disk exhaustion fatal errors on the Scheduler under normal usage. Because the volume size request field is protected from updates, Dapr version upgrades to v1.14.3 failed without manual intervention. Reverts the Scheduler storage quota size back to `1Gi`, and adds warnings that the volume size may need to be increased for production deployments. Signed-off-by: joshvanl <[email protected]>
- Loading branch information
Showing
4 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Dapr 1.14.4 | ||
|
||
This update includes bug fixes: | ||
|
||
- [Fixes being able to upgrade Dapr v1.14.x to v1.14.3 without manual intervention](#fixes-being-able-to-upgrade-dapr-v114x-to-v1143-without-manual-intervention) | ||
|
||
## Fixes being able to upgrade Dapr v1.14.x to v1.14.3 without manual intervention | ||
|
||
### Problem | ||
|
||
When upgrading from Dapr versions `v1.14.0`, `v1.14.1`, or `v1.14.2` to `v1.14.3`, the upgrade would fail with the following error. | ||
|
||
``` | ||
Error: UPGRADE FAILED: cannot patch "dapr-scheduler-server" with kind StatefulSet: StatefulSet.apps "dapr-scheduler-server" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden | ||
``` | ||
|
||
The workaround for the user is to Delete the Scheduler StatefulSet before re-running the upgrade with the new storage size. | ||
The StorageClass must support volume expansion for this to work. | ||
|
||
### Impact | ||
|
||
Users were unable to upgrade Dapr to `v1.14.3` without manual intervention, breaking automated upgrades. | ||
|
||
### Root cause | ||
|
||
In Dapr `v1.14.3`, the `dapr-scheduler-server` StatefulSet changed the default persistent volume request size from `1Gi` to `16Gi`. | ||
Kubernetes prevents updating this request field, resulting in this the above error. | ||
|
||
### Solution | ||
|
||
This field has been reverted to the previous `1Gi` request size. | ||
Users who wish to increase the volume size must follow the manual steps [described in the documentation](https://docs.dapr.io/operations/hosting/kubernetes/kubernetes-persisting-scheduler). |