8000 helm-chart scheduler inMemoryStorage feature does not work anymore since replicacount is forced to 3 · Issue #8827 · dapr/dapr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
helm-chart scheduler inMemoryStorage feature does not work anymore since replicacount is forced to 3 #8827
Open
@JoostPV

Description

@JoostPV

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0