Comment 1 for bug 1855179

Revision history for this message
Ian Booth (wallyworld) wrote :

Dynamically adding storage does not work on k8s models. The k8s deployment model is such that we use a statefulset, and all pods must be homogeneous. There's a common k8s pod spec template that is given to the k8s statefulset controller and that k8s controller retains responsibility for scaling the k8s replicaset to the required number of pods.

Adding storage is explicitly disallowed by the juju CLI but it seems we don't do that properly for the hook commands.

We don't yet have a way to add storage at the application level to be rolled out across all pods. It's not on the roadmap this cycle.