44.3. ZookeeperClusterSpec 模式属性


Expand
属性Description

replicas

集群中的 pod 数量。

整数

image

pod 的 docker 镜像。

字符串

storage

存储配置(磁盘)。无法更新。类型取决于给定对象中的 storage.type 属性的值,它必须是 [ephemeral, persistent-claim] 之一。

EphemeralStorage, PersistentClaimStorage

config

ZooKeeper 代理配置。无法设置带有以下前缀的属性:server., dataDir, dataLogDir, clientPort, authProvider, quorum.auth, requireClientAuthScheme, snapshot.trust.empty, standaloneEnabled, reconfigEnabled, 4lw.commands.whitelist, secureClientPort, ssl., serverCnxnFactory, sslQuorum (除 ssl.protocol 除外) ssl.quorum.protocol, ssl.enabledProtocols, ssl.quorum.enabledProtocols, ssl.ciphersuites, ssl.quorum.ciphersuites, ssl.hostnameVerification, ssl.quorum.hostnameVerification)。

map

livenessProbe

Pod 存活度检查。

probe

readinessProbe

Pod 就绪度检查。

probe

jvmOptions

pod 的 JVM 选项。

JvmOptions

jmxOptions

Zookeeper 节点的 JMX 选项。

KafkaJmxOptions

资源

要保留的 CPU 和内存资源。如需更多信息,请参阅 core/v1 资源要求的外部文档

ResourceRequirements

metricsConfig

指标配置。这个类型取决于给定对象中的 metricsConfig.type 属性的值,它必须是 [jmxPrometheusExporter] 之一。

JmxPrometheusExporterMetrics

logging

ZooKeeper 的日志记录配置。类型取决于给定对象中的 logging.type 属性的值,它必须是 [inline, external] 之一。

InlineLogging, ExternalLogging

模板

ZooKeeper 集群资源模板。该模板允许用户指定如何生成 OpenShift 资源。

ZookeeperClusterTemplate

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat