Kubernetes - Labels and Selectors
Which of the following is the correct syntax to add a recommended label
app.kubernetes.io/name: myapp to a pod YAML?app.kubernetes.io/name: myapp to a pod YAML?metadata.labels in resource manifests.metadata:
labels:
app.kubernetes.io/name: myapp correctly places the label under metadata.labels. Labels belong under metadata, not spec, and should use labels not annotations.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions