7.5. Apicurio Registry Operator 라벨
Apicurio Registry Operator가 관리하는 리소스는 일반적으로 다음과 같이 레이블이 지정됩니다.
레이블 | 설명 |
---|---|
|
지정된 ApicurioRegistry CR의 이름을 기반으로 리소스가 속한 |
|
배포 유형: |
|
배포 이름: |
| Apicurio 레지스트리 또는 Apicurio Registry Operator의 버전 |
| 애플리케이션 배포에 권장되는 Kubernetes 레이블 세트입니다. |
| Red Hat 제품의 미터링 레이블입니다. |
사용자 정의 라벨 및 주석
spec.deployment.metadata.labels
및 spec.deployment.metadata.annotations
필드를 사용하여 Apicurio 레지스트리 Pod에 대한 사용자 정의 레이블 및 주석을 제공할 수 있습니다. 예를 들면 다음과 같습니다.
apiVersion: registry.apicur.io/v1 kind: ApicurioRegistry metadata: name: example-apicurioregistry spec: configuration: # ... deployment: metadata: labels: example.com/environment: staging annotations: example.com/owner: my-team
apiVersion: registry.apicur.io/v1
kind: ApicurioRegistry
metadata:
name: example-apicurioregistry
spec:
configuration:
# ...
deployment:
metadata:
labels:
example.com/environment: staging
annotations:
example.com/owner: my-team