C-0076 - Label usage for resources

Label usage for resources

Framework

DevOpsBest

Description of the the issue

It is recommended to set labels that identify semantic attributes of your application or deployment. For example, { app: myapp, tier: frontend, phase: test, deployment: v3 }. These labels can used to asign policies to logical groups of the deployments as well as for presentation and tracking purposes. This control helps you find deployments without any of the expected labels.

Related resources

CronJob, DaemonSet, Deployment, Job, Pods, ReplicaSet, StatefulSet

What does this control test

Test will check if a certain set of labels is defined, this is a configurable control. Initial list: app, tier, phase, version, owner, env.

Remediation

Define labels that are most suitable to your needs of use the excpetions to prevent further notifications.

Example

No example


Did this page help you?