Open
Description
In what area(s)?
/area scheduler
What version of Dapr?
1.15
Expected Behavior
Install Dapr on a cluster using Helm with the dapr_scheduler.cluster.inMemoryStorage option to true:
helm upgrade --install dapr dapr/dapr --version=1.15 --namespace dapr-system --create-namespace -f values.okd.yaml --set dapr_scheduler.cluster.inMemoryStorage=true
Should install Dapr
Actual Behavior
It gives an error:
Error: UPGRADE FAILED: execution error at (dapr/charts/dapr_scheduler/templates/dapr_scheduler_statefulset.yaml:14:6):
inMemoryStorage
can only be enabled when running in non-HA mode)
Steps to Reproduce the Problem
Run:
helm upgrade --install dapr dapr/dapr --version=1.15 --namespace dapr-system --create-namespace -f values.okd.yaml --set dapr_scheduler.cluster.inMemoryStorage=true
The issue is that the replicacount of the scheduler is now forced into 3 (a bug in itself if you would ask me), also in non-ha-mode.
But the inMemoryStorage has a check so that it cannot be enabled in HA mode (assuming that a replicacount of 3 implies running in HA mode)
Release Note
RELEASE NOTE: