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