第 2 章 新功能及功能增强


在这个版本中,devworkspace-webhook-server 部署选项在全局 DevWorkspaceOperatorConfig (DWOC)中提供,包括 副本pod tolerationsnodeSelector

这些配置选项存在于全局 DWOC 的 config.webhook 字段中:

apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
  name: devworkspace-operator-config
  namespace: $OPERATOR_INSTALL_NAMESPACE
config:
 routing:
   clusterHostSuffix: 192.168.49.2.nip.io
   defaultRoutingClass: basic
 webhook:
   nodeSelector: <string, string>
   tolerations: <[]tolerations>
   replicas: <int32>
注意

要让 devworkspace-webhook-server 配置选项生效:

  • 您必须将它们放在 全局 DWOC 中,其名称为 devworkspace-operator-config,并存在于安装了 DevWorkspaceOperator 的命名空间中。如果集群中不存在它,则必须创建它。
  • 您必须终止 devworkspace-controller-manager pod 并重启它,以便可以相应地调整 devworkspace-webhook-server 部署。

另外,devworkspace-webhook-server 部署的默认副本数增加到 2 以增加可用性。

其他资源

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

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

让开源更具包容性

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

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部