k3s-安装helm客户端
下载安装helm
helm地址:https://github.com/helm/helm/releases/tag/v3.5.0
1 | wget https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz |
配置集群参数
vi ~/.bashrc
添加环境变量:
1 | export KUBECONFIG=/etc/rancher/k3s/k3s.yaml |
添加完之后,测试helm是否正常: helm version
更新安装源
国外源:
1 | helm repo add stable https://charts.helm.sh/stable |
国内源:
1 | helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts |
删除某个源:
1 | helm repo remove stable |
查看helm列表:
1 | helm list |
命令测试
1 | helm search hub wordpress |