Closed xh3b4sd closed 6 years ago
/cc @kopiczko @JosephSalisbury @MarcelMue @calvix
When creating labels or annotations let's please prefix them.
I propose following scheme: REPO.GROUP.giantswarm.io/PARAM=VAL
. For kvm-operator
the prefix would be kvm-operator.cluster.giantswarm.io/arbitrary-name=rabitrary-value
.
IMO this is rather a never ending story because of a lot of places we cannot just change right now. I would just close this issue to not pollute the backlog with something we constantly work on anyway. We documented how we want to structure labels here: https://github.com/giantswarm/fmt/blob/e0941cf8365eba93fb349bbc612983ff76c8647c/kubernetes/annotations_and_labels.md.
There was a discussion going on towards the usage of annotations and labels to be able to filter pods within the scope of an informer and to be able to work with component specific information. See the result of the discussion.