问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

基于Helm离线部署高可用Zookeeper

发布网友 发布时间:2023-05-29 15:59

我来回答

1个回答

热心网友 时间:2024-11-23 03:41

This helm chart provides an implementation of the ZooKeeper StatefulSet found in Kubernetes Contrib Zookeeper StatefulSet .

This chart will do the following:

You can install the chart with the release name myzk as below.

If you do not specify a name, helm will select a name for you.

You can use kubectl get to view all of the installed components.

You can specify each parameter using the --set key=value[,key=value] argument to helm install .

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

The configuration parameters in this section control the resources requested and utilized by the ZooKeeper ensemble.

These parameters control the network ports on which the ensemble communicates.

ZooKeeper uses the Zab protocol to replicate its state machine across the ensemble. The following parameters control the timeouts for the protocol.

ZooKeeper writes its WAL (Write Ahead Log) and periodic snapshots to storage media. These parameters control the retention policy for snapshots and WAL segments. If you do not configure the ensemble to automatically periodically purge snapshots and logs, it is important to implement such a mechanism yourself. Otherwise, you will eventually exhaust all available storage media.

Spreading allows you specify an anti-affinity between ZooKeeper servers in the ensemble. This will prevent the Pods from being scheled on the same node.

In order to allow for the default installation to work well with the log rolling and retention policy of Kubernetes, all logs are written to stdout. This should also be compatible with logging integrations such as Google Cloud Logging and ELK.

The servers in the ensemble have both liveness and readiness checks specified. These parameters can be used to tune the sensitivity of the liveness and readiness checks.

This parameter controls when the image is pulled from the repository.

The image used for this chart is based on Ubuntu 16.04 LTS. This image is larger than Alpine or BusyBox, but it provides glibc, rather than ulibc or mucl, and a JVM release that is built against it. You can easily convert this chart to run against a smaller image with a JVM that is build against that images libc. However, as far as we know, no Hadoop vendor supports, or has verified, ZooKeeper running on such a JVM.

The Java Virtual Machine used for this chart is the OpenJDK JVM 8u111 JRE (headless).

The ZooKeeper version is the latest stable version (3.4.9). The distribution is installed into /opt/zookeeper-3.4.9. This directory is symbolically linked to /opt/zookeeper. Symlinks are created to simulate a rpm installation into /usr.

You can test failover by killing the leader. Insert a key:

Watch existing members:

Delete Pods and wait for the StatefulSet controller to bring them back up:

Check the previously inserted key:

ZooKeeper can not be safely scaled in versions prior to 3.5.x. There are manual proceres for scaling an ensemble, but as noted in the ZooKeeper 3.5.2 documentation these proceres require a rolling restart, are known to be error prone, and often result in a data loss.

While ZooKeeper 3.5.x does allow for dynamic ensemble reconfiguration (including scaling membership), the current status of the release is still alpha, and it is not recommended for proction use.
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
苹果手机微信怎么换漂亮字体(苹果手机微信怎么换行输入) 有什么好用的app转换字体 手写转文字的软件 erp可以看评论地址吗 淘宝评论url是什么意思? 揭秘:码牌支付风控升级,背后真相揭秘 电脑电视直播软件哪个好用什么软件好电脑看电视直播 潼南子同街学区是哪些 三极管BU406价格和参数? 火锅料放在冰柜忘了插电一个星期给会坏了吗 火锅的设备有哪些 helm2和helm3的区别及helm2的安装使用 Linux里面helm作用是什么? 柴胡蚤休汤作用与功效,有什么副作用? 中药蚤休的功效与作用 蚤休的功效与作用 广联达工序动画怎么导入广联达模型 于震主演的抗日电视剧全部 一台电脑可以登录几个? 电脑可以同时登录几个? 电脑可以登陆两个吗 找一部穿越小说,男主叫夜弦,男二叫朝歌 被判缓刑没有被开除公职退休后养老金有影响吗? 为什么分析50℃的急冷油黏度 退休后被判缓刑还有退休工资吗!? 一台电脑可以登录几个? 电脑可以同时登录几个? standard pci graphics adapter这个显卡的驱动在哪啊? 电脑可以登陆两个吗 拉丁有几个舞种? 双侧宫角较浅是什么意思 我这个月吃促排卵药,当月就能怀孕吗?拜托了各位 谢谢 家具安装导师需要具备哪些能力与素质? 木匠怎么学 汽车制造与检修专业跟汽车运用与维修专业有什么区别,哪个要难一点?? 汽车维修好学习吗? 男孩学习汽修专业会困难吗? 好似又过几个秋什么时候上线 转眼瞬不知不觉就过了几个秋是什么歌 歌词,又熬过几个春,又熬过几个秋。 转眼又是好几个秋,这是哪首歌的歌词 装修工程监理的好处装修工程监理责任 【从北京飞到尼泊尔需要多长时间】-旅行时间详情 贵阳直飞尼泊尔航班开通时间2019贵阳冬春航季期间新增及加密航线_百 ... 趴着的小猫怎么画 孩子的卧室应当如何布置 2016年家有考生 该如何正确布置卧室 苹果手机删除的软件在哪能找到,之前看见过没注意是在哪里找到的 卸载了手机中的同步软件要怎么样恢复? 蚊子晚上都躲在什么地方? 会动的纸蛇实验怎么做 csgo待处理余额