helm 使用方法说明
一、安装helm
请看文章:centos7环境 的 k8s安装helm 3.7.1
二、使用helm
1、使用 chart 部署一个应用 weave
查找 chart
helm search repo weave
#查看 chrt 信息
helm show chart stable/weave-scope
安装包
helm install myweave-ui stable/weave-scope
#查看发布状态
helm list
helm status myweave-ui
安装已经成功了。我们可以查看k8s里的pods,deploy,svc等信息,都可以找到相关信息。
若需要外部能访问,则需要将svc改为NodePort类型。
kubectl edit svc myweave-ui-weave-scope
作者:沐雪
文章均系作者原创或翻译,如有错误不妥之处,欢迎各位批评指正。本文版权归作者和博客园共有,如需转载恳请注明。
如果您觉得阅读这篇博客让你有所收获,请点击右下方【推荐】
为之网-热爱软件编程 http://www.weizhi.cc/