juju records the k8s uid of the pod as the provider-id attribute which you can see in juju status --format yaml. So you can match up the pod and the unit. (for statefulset pods it is the pod name rather than the uid)
juju records the k8s uid of the pod as the provider-id attribute which you can see in juju status --format yaml. So you can match up the pod and the unit.
(for statefulset pods it is the pod name rather than the uid)