«

Kubernetes(k8s)-Helm

作者:myluzh 分类: Kubernetes 长度:907 阅读:470


0x01 安装Helm

1.github安装helm

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

2.国内加速源安装helm

wget https://mirrors.huaweicloud.com/helm/v3.9.4/helm-v3.9.4-linux-amd64.tar.gz
tar -zxvf helm-v3.9.4-linux-amd64.tar.gz
sudo cp linux-amd64/helm /usr/local/bin/
helm version

0x02 添加Chart仓库

# 配置helm源地址
helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo add huaweicloud https://mirrors.huaweicloud.com/helm/
helm repo add bitnami https://charts.bitnami.com/bitnami
# 查看仓库
helm repo list
# 更新仓库
helm repo update
# 删除仓库
helm repo remove aliyun

0x03 使用helm安装mysql

helm search repo mysql
helm install my-mysql bitnami/mysql

k8s kubernetes helm


正文到此结束
版权声明:若无特殊注明,本文皆为 Myluzh Blog 原创,转载请保留文章出处。
文章内容:https://itho.cn/k8s/309.html
文章标题:《Kubernetes(k8s)-Helm