Comment 5 for bug 1960475

Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote :

I tried the below steps, and all the pods get terminated and leadership was moved to the new pods correctly.

```
juju deploy postgresql-k8s
juju deploy mattermost-k8s
juju relate mattermost-k8s postgresql-k8s:db
juju scale-application mattermost-k8s 6

mkubectl -nt1 delete pods -l app.kubernetes.io/name=mattermost-k8s
mkubectl -nt1 delete pods -l app.kubernetes.io/name=mattermost-k8s
mkubectl -nt1 delete pods -l app.kubernetes.io/name=mattermost-k8s

```