Custom pod labels


Juju sets standard pod labels for each workload pod created. These are:

  • model-uuid
  • controller-uuid

It’s possible to use model resource-tags to set up a customised set of labels which will be applied in addition to the above. After creating the model, set the resource tags:

juju model-config resource-tags="a=b c=d"

These will then be applied to all pods created by Juju.

Meta: Collected topics and docs for k8s charms