Skip to content

Add custom labels to the pods

John Skarbek requested to merge binboum/gitlab-master into master

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.

Credit: @binboum

Original MR: !1430 (closed)

Enables .com to address: https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/10249

Edited by John Skarbek

Merge request reports

Loading