B.62. ZookeeperClusterSpec 模式参考


用于:KafkaSpec

属性描述

replicas

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

map

关联性

属性 关联性 已弃用。现在,这个功能应该在路径 spec.zookeeper.template.pod.affinity 中配置。pod 的关联性规则。请参阅有关 内核/v1 关联性 的外部文档.

关联性

容限(tolerations)

属性 容限 已弃用。现在,这个功能应该在路径 spec.zookeeper.template.pod.tolerations 中配置。pod 的容限。请参阅 内核/v1 容限 的外部文档。

容限 数组

livenessProbe

Pod 存活度检查.

probe

readinessProbe

Pod 就绪度检查。

probe

jvmOptions

容器集的 JVM 选项.

JvmOptions

资源

要保留的 CPU 和内存资源。请参阅 内核/v1 资源要求的外部文档

ResourceRequirements

metrics

Prometheus JMX 导出器配置.有关此配置结构的详情,请查看 https://github.com/prometheus/jmx_exporter

map

logging

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

InlineLogging, ExternalLogging

模板

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

ZookeeperClusterTemplate

tlsSidecar

attribute tlsSidecar 已被弃用。TLS sidecar 配置.不再使用 TLS sidecar,将忽略这个选项。

TlsSidecar

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.