Add custom labels to the pods
Labels can be used to select objects and to find collections of objects that satisfy certain conditions.
In my use case, with Calico we use global network policy to limit incoming and outgoing flows, by attaching labels to namespaces AND pods.
Edited by John Skarbek