Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels guide #41

Closed
corvus-ch opened this issue Apr 8, 2020 · 0 comments · Fixed by #77
Closed

Labels guide #41

corvus-ch opened this issue Apr 8, 2020 · 0 comments · Fixed by #77

Comments

@corvus-ch
Copy link
Contributor

As an author of Commodore components, operators and others, one easily can get lost when it comes to naming labels and annotations. Having a guide would be of help. It can:

  • speed up the decision process for defining label names.
  • prevent collisions and thus unintended side effects.

None conclusive list to be covered in that guide:

  • labels to be used on different Kubernetes objects (e.g. Deployments, Services, etc.)
  • labels to be used for matchSelectors (e.g. to make Prometheus picking up service monitors or alert rules).

See also https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/.

srueg added a commit that referenced this issue Jul 27, 2020
@srueg srueg mentioned this issue Jul 27, 2020
3 tasks
@tobru tobru closed this as completed in #77 Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant