6.3. 管理 Apicurio Registry 环境变量


Service Registry Operator 管理最常见的 Apicurio Registry 配置,但有些选项可以手动调整。您可以通过在 Apicurio Registry Deployment 资源中设置环境变量来更新它们。如果 ApicurioRegistry CR 中没有特定的配置选项,您可以使用环境变量来调整它。

流程

OpenShift web 控制台
  1. 选择 Installed Operators 选项卡,然后选择 Red Hat Integration - Service Registry Operator
  2. Apicurio Registry 选项卡中,点 Apicurio Registry 部署的 ApicurioRegistry CR。
  3. 在主概览页面中,查看 managedResources 部分,其中包含由 Operator 管理的 Deployment 的名称,以部署您的 Apicurio Registry 实例。
  4. 在左侧菜单中的 Workloads > Deployments 中查找 Deployment
  5. 选择具有正确名称的 Deployment,然后选择 Environment 选项卡。
  6. 您可以将环境变量添加到 Single values (env) 部分。
  7. 点底部的 Save
OpenShift CLI
  1. 选择安装 Apicurio Registry 的项目。
  2. 运行 oc get apicurioregistry 以获取 ApicurioRegistry CR 列表
  3. 在代表您要配置的 Apicurio Registry 实例的 CR 上运行 oc describe
  4. 查看 status 部分中的 managedResource
  5. 找到 Deployment 并输入 oc edit
  6. spec.template.spec.containers[0].env 部分中添加或修改环境变量。
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部