이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 37. MetadataTemplate schema reference
Used in: BuildConfigTemplate, DeploymentTemplate, InternalServiceTemplate, PodDisruptionBudgetTemplate, PodTemplate, ResourceTemplate, StatefulSetTemplate
Full list of MetadataTemplate schema properties
Labels and Annotations are used to identify and organize resources, and are configured in the metadata property.
For example:
# ...
template:
pod:
metadata:
labels:
label1: value1
label2: value2
annotations:
annotation1: value1
annotation2: value2
# ...
The labels and annotations fields can contain any labels or annotations that do not contain the reserved string strimzi.io. Labels and annotations containing strimzi.io are used internally by AMQ Streams and cannot be configured.
37.1. MetadataTemplate schema properties 링크 복사링크가 클립보드에 복사되었습니다!
| Property | Description |
|---|---|
| labels | Labels added to the OpenShift resource. |
| map | |
| annotations | Annotations added to the OpenShift resource. |
| map |