美文网首页
k8s helm命令

k8s helm命令

作者: 小小的小帅 | 来源:发表于2021-11-04 17:45 被阅读0次

    参考: 参考

    helm把安装包下载到当前用户的家目录下
    ll /root/.helm/cache/archive/
    
    1. helm查看chart库:
    helm repo list
    
    image.png
    1. 移除镜像源
    helm repo remove c7n
    
    1. 添加镜像源
    helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n/
    
    1. 更新
    helm repo update
    
    1. 查找镜像
    helm search repo
    
    image.png
    • 下载tgz文件到本地
    helm fetch c7n/workflow-service
    
    • helm打包
    helm package myapp/
    
    1. 查看安装的软件包chart
    helm list -n 命名空间
    
    image.png
    1. 查看应用详细信息
    helm inspect stable/mysql
    
    1. 用helm安装软件包,-name:指定release名字
    helm install --name mysql1 stable/mysql
    
    1. 删除
    helm delete mysql1 --purge
    
    image.png

    相关文章

      网友评论

          本文标题:k8s helm命令

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