kubernetes 简单入门Istio Helm安装

z0qdvdin  于 2023-10-17  发布在  Kubernetes
关注(0)|答案(1)|浏览(103)

我正在尝试遵循以下指令之一:

~ helm repo add istio.io https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts
    
    ~ helm repo list

    NAME        URL                                                                                   
    stable      https://kubernetes-charts.storage.googleapis.com                                      
    local       http://127.0.0.1:8879/charts                                                          
    istio.io    https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts
    
    ~ helm repo update
    
    ~ helm install install/kubernetes/helm/istio --name istio --namespace istio-system
    Error: failed to download "install/kubernetes/helm/istio" (hint: running `helm repo update` may help)
    
    ~ helm dependency update install/kubernetes/helm/istio
    
    Error: could not find <current directory>/install/kubernetes/helm/istio: stat 
    <current directory>/install/kubernetes/helm/istio: no such file or directory

如何解决此错误并安装Istio Helm chart?

4si2a6ki

4si2a6ki1#

回答我自己的问题,对于任何人有同样的问题:
不要使用公共 Helm 回购。
从以下位置下载发布存档:
https://github.com/istio/istio/releases
解压缩它,导航到istio根目录,然后你可以成功地做:
Helm 2.x语法:

helm install install/kubernetes/helm/istio --name istio --namespace istio-system

Helm 3.x语法:

helm install istio install/kubernetes/helm/istio --namespace istio-system

相关问题