7.5. Apicurio Registry Operator 标签
Apicurio Registry Operator 管理的资源通常被标记为如下:
| 标签 | 描述 |
|---|---|
|
|
根据指定 |
|
|
部署类型: |
|
|
部署名称:值与 |
|
| Apicurio Registry 或 Apicurio Registry Operator 的版本 |
|
| 一组用于应用程序部署的推荐 Kubernetes 标签。 |
|
| 红帽产品的计量标签。 |
自定义标签和注解
您可以使用 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