Here are some common Kubernetes labels that are frequently used:
-
app: Indicates the name of the application. This is often used to group related resources.
labels: app: my-app -
version: Specifies the version of the application. Useful for managing different versions of the same app.
labels: version: v1.0 -
environment: Indicates the environment in which the application is running, such as
production,staging, ordevelopment.labels: environment: production -
tier: Describes the tier of the application, such as
frontend,backend, ordatabase.labels: tier: frontend -
release: Used to indicate the release version of the application, often in conjunction with CI/CD pipelines.
labels: release: stable -
team: Identifies the team responsible for the application or service.
labels: team: devops -
managed-by: Indicates the tool or system managing the resource, such as
helmorkustomize.labels: managed-by: helm
Using these labels helps in organizing, selecting, and managing Kubernetes resources effectively.
