Setting podManagementPolicy in Juju k8s StatefulSet
Bug #1834481 reported by
Dominik Fleischmann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
By default when deploying a Juju k8s charm with storage a StatefulSet is created where the Pods will be created if there are several units.
In a default StatefulSet the podManagementPolicy is set to OrderedReady so each pod will be created after the previous one is ready.
In Juju on the other hand this value has been changed to Parallel so all Pods are initiated at the same time.
This is causing us issues in some applications like a Mariadb Cluster where the Primary Node has to be created before the Secondary ones.
Adding an option, to make this value configurable in the Charms would solve these issues.
tags: | added: osm |
Changed in juju: | |
assignee: | Christian Muirhead (2-xtian) → Yang Kelvin Liu (kelvin.liu) |
milestone: | none → 2.7-beta1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Tossing over to Christian to take a look at what we might need to do here. Thanks for the bug report.