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

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM