如何使用 helm 3.0 安装 mysql ha

Dol*_*hin 0 mysql kubernetes kubernetes-helm

我按照这个文档安装 MySQL HA :

./helm install report incubator/mysqlha -n middleware
Run Code Online (Sandbox Code Playgroud)

但结果是这样的:

[dolphin@MeowK8SMaster1 linux-amd64]$ ./helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "traefik" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ? Happy Helming!?
[dolphin@MeowK8SMaster1 linux-amd64]$ ./helm install report incubator/mysqlha -n middleware
Error: failed to download "incubator/mysqlha" (hint: running `helm repo update` may help)
[dolphin@MeowK8SMaster1 linux-amd64]$
Run Code Online (Sandbox Code Playgroud)

我应该怎么做安装 mysql HA?

Fri*_*rdt 6

你必须先安装上的mysqlh图表所在:

helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com
Run Code Online (Sandbox Code Playgroud)

然后运行helm repo update.安装应该会成功。

如果不确定在哪里可以找到 helm chart repos,请检查 Helm Hub:https : //hub.helm.sh/charts/incubator/mysqlha