Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 568 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 568 Bytes

Kubernetes Label Operator

This operator adds a padok.fr/pod-name label to Pods with the padok.fr/add-pod-name-label=true annotation. The label's value is the Pod's name.

Usage

To run the operator locally on your Kubernetes cluster:

make run

To build and release a Docker image for the operator:

make IMG=docker.io/busser/label-operator docker-build docker-push

To deploy the operator to your Kubernetes cluster:

make IMG=docker.io/busser/label-operator deploy

Testing

To run unit tests:

make test