Kubernetes-使用Helm安装istio

添加istio库:

helm repo add istio.io https://storage.googleapis.com/istio-release/releases/1.3.4/charts/

更新查看:

helm repo update

Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "stable" chart repository
...Successfully got an update from the "istio.io" chart repository
Update Complete.

helm repo list

NAME    	URL                                                                
stable  	https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts             
local   	http://127.0.0.1:8879/charts                                       
istio.io	https://storage.googleapis.com/istio-release/releases/1.3.4/charts/

helm search istio  查看istio相关charts:

NAME               	CHART VERSION	APP VERSION	DESCRIPTION                        
istio.io/istio     	1.3.4        	1.3.4      	Helm chart for all istio components
istio.io/istio-cni 	1.3.4        	1.3.4      	Helm chart for istio-cni components
istio.io/istio-init	1.3.4        	1.3.4      	Helm chart to initialize Istio CRDs

安装istio-init图表以引导所有Istio的CRD:

helm install istio.io/istio-init --name istio-init --namespace istio-system

使用以下命令验证是否已将所有Istio CRD提交到Kubernetes api服务器:

kubectl get crds | grep 'istio.io' | wc -l
23
#打印出23就完成

 安装istio:

helm install istio.io/istio --name istio --namespace istio-system

查看istio相关pod是否启动成功:

kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE istio-citadel-59574746c-ps2gs 1/1 Running 0 3m55s istio-galley-7c6786768c-9m4pb 1/1 Running 0 3m55s istio-ingressgateway-7b76ff7c54-jhfzk 1/1 Running 0 3m55s istio-init-crd-10-1.3.4-krmtf 0/1 Completed 0 4m9s istio-init-crd-11-1.3.4-c5gqt 0/1 Completed 0 4m9s istio-init-crd-12-1.3.4-5jzjq 0/1 Completed 0 4m9s istio-pilot-6c546fb5b4-pdjfv 2/2 Running 0 3m55s istio-policy-5bd84dbc46-ks6wv 2/2 Running 0 3m55s istio-security-post-install-1.3.4-5mbtz 0/1 Completed 0 3m55s istio-sidecar-injector-949f4564-fm9pk 1/1 Running 0 3m55s istio-telemetry-68766475bc-d9qhs 2/2 Running 0 3m55s prometheus-6f74d6f76d-t8n8c 1/1 Running 0 3m55s

  

原文地址:https://www.cnblogs.com/zsifan/p/11822891.html