《Elastic Stack 实战手册》——三、产品能力——3.4.入门篇——3.4.1.Elastic Stack 安装部署——3.4.1.6.配置多节点集群(4) https://developer.aliyun.com/article/1231325
我们使用Dev tools:
从上面我们可以看出来,我们已经成功地部署了3个Elasticsearch节点的集群。
如果你想了解helm更多,你可以使用如下的命令:
helm --help
helm目前有很多的命令:
Available Commands: completion Generate autocompletions script for the specified shell (bash or zsh) create create a new chart with the given name dependency manage a chart's dependencies env Helm client environment information get download extended information of a named release help Help about any command history fetch release history install install a chart lint examines a chart for possible issues list list releases package package a chart directory into a chart archive plugin install, list, or uninstall Helm plugins pull download a chart from a repository and (optionally) unpack it in local directory repo add, list, remove, update, and index chart repositories rollback roll back a release to a previous revision search search for a keyword in charts show show information of a chart status displays the status of the named release template locally render templates test run tests for a release uninstall uninstall a release upgrade upgrade a release verify verify that a chart at the given path has been signed and is valid version print the client version information
我们可以通过命令:
helm list
来显示已经发布了的:
$ helm list NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION elasticsearch default 1 2020-04-05 19:04:46.629021 +0800 CST deployed elasticsearch-7.6.2 7.6.2 kibana default 1 2020-04-05 19:08:32.566291 +0800 CST deployed kibana-7.6.2 7.6.2
我们也可以使用如下的命令来卸载已经发布了的:
helm uninstall
比如:
$ helm uninstall kibana release "kibana" uninstalled liuxg:kube liuxg$ helm uninstall elasticsearch release "elasticsearch" uninstalled liuxg:kube liuxg$ kubectl get pods No resources found.
创作人简介:
刘晓国,现为 Elastic 社区资深布道师。新加坡国立大学硕士,西北工业大学本硕。曾就职于新加坡科技,康柏电脑,通用汽车,爱立信,诺基亚,Linaro非营利组织(Linux for ARM),
Ubuntu,LinkMotion,Vantiq等企业。从事过通信,电脑设计,计算机操作系统,物联网,汽车电子,云实时事件处理,大数据搜索等行业。从爱立信开始,到后来的诺基亚,Ubuntu从事社区工作有超过 15 年以上经历。喜欢分享自己所学到的知识,希望和大家一起分享及学习。