搜索

13.2.42.3. ZookeeperClusterSpec 模式属性

download PDF
属性描述

replicas

集群中的 pod 数量。

整数

image

容器集的 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.ciphersuites, SSL.quorum.ciphersuites、ssl.hostnameVerification、ssl.quorum.hostnameVerification。

map

livenessProbe

Pod 存活度检查.

probe

readinessprobe

Pod 就绪度检查。

probe

jvmOptions

容器集的 JVM 选项.

JvmOptions

资源

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

ResourceRequirements

metricsConfig

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

JmxPrometheusExporterMetrics

logging

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

InlineLogging, ExternalLogging

模板

ZooKeeper 集群资源的模板。该模板允许用户指定 StatefulSetPod 和服务 生成的方式。

ZookeeperClusterTemplate

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.