46.3. ZookeeperClusterSpec 模式属性
属性 | 属性类型 | 描述 |
---|---|---|
replicas | 整数 | 集群中的 pod 数量。 |
image | string |
用于 ZooKeeper pod 的容器镜像。如果没有明确指定镜像名称,它会根据 |
storage | 存储配置(磁盘)。无法更新。 | |
config | map | 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)。 |
livenessProbe | Pod 存活度检查。 | |
readinessProbe | Pod 就绪度检查。 | |
jvmOptions | pod 的 JVM 选项。 | |
jmxOptions | Zookeeper 节点的 JMX 选项。 | |
resources | 要保留的 CPU 和内存资源。 | |
metricsConfig | 指标配置。 | |
logging | ZooKeeper 的日志记录配置。 | |
模板 | ZooKeeper 集群资源模板。该模板允许用户指定如何生成 OpenShift 资源。 |