7.5. Apicurio Registry Operator ラベル
Apicurio Registry Operator によって管理されるリソースは、通常、次のようにラベル付けされます。
ラベル | 説明 |
---|---|
|
指定された |
|
デプロイメントのタイプ: |
|
デプロイの名前: |
| Apicurio Registry または Apicurio Registry Operator のバージョン |
| アプリケーションのデプロイメントに推奨される Kubernetes ラベルのセット。 |
| Red Hat 製品のメータリングラベル。 |
カスタムラベルとアノテーション
spec.deployment.metadata.labels
と spec.deployment.metadata.annotations
フィールドを使用して、Apicurio Registry 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