美文网首页
helm常用命令

helm常用命令

作者: k8s程序员 | 来源:发表于2021-03-11 21:20 被阅读0次

    Helm 常用命令

    helm命令大全地址

    查看版本

    helm version

    查看当前安装的charts

    helm list

    查询 charts

    helm search redis

    安装charts

    helm install --name redis --namespaces prod bitnami/redis

    查看charts状态

    helm status redis

    删除charts

    helm delete --purge redis

    增加repo

    helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts

    helm repo add --username admin --password password myharbor https://harbor.qing.cn/chartrepo/charts

    更新repo仓库资源

    helm repo update

    创建charts

    helm create helm_charts

    测试charts语法

    helm lint

    打包charts

    cd helm_charts && helm package ./

    查看生成的yaml文件

    helm template helm_charts-0.1.1.tgz

    更新image

    helm upgrade --set image.tag='v2019-05-09-18-48-40' study-api-en-oral myharbor/study-api-en-oral

    回滚relase

    helm hist study-api-en-oral

    helm rollback study-api-en-oral 4

    相关文章

      网友评论

          本文标题:helm常用命令

          本文链接:https://www.haomeiwen.com/subject/wrwoqltx.html