码迷,mamicode.com
首页 > Web开发 > 详细

Kubernetes-使用Helm安装istio

时间:2019-11-08 21:10:31      阅读:136      评论:0      收藏:0      [点我收藏+]

标签:table   oca   update   get   arc   https   while   component   kubectl   

添加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-init --name istio-init --namespace istio-system

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

kubectl get pods -n istio-system

NAME                                    READY   STATUS      RESTARTS   AGE
istio-citadel-59574746c-xjnjl           1/1     Running     0          12m
istio-galley-7c6786768c-9rslh           1/1     Running     0          12m
istio-ingressgateway-7b76ff7c54-7wdgm   1/1     Running     0          12m
istio-init-crd-10-1.3.4-hghj6           0/1     Completed   0          12m
istio-init-crd-11-1.3.4-z6622           0/1     Completed   0          12m
istio-init-crd-12-1.3.4-stphw           0/1     Completed   0          12m
istio-pilot-6c546fb5b4-l9cqf            2/2     Running     0          12m
istio-policy-5bd84dbc46-qmfjs           2/2     Running     0          12m
istio-sidecar-injector-949f4564-kv2m4   1/1     Running     0          12m
istio-telemetry-68766475bc-5pzcl        2/2     Running     0          12m
prometheus-6f74d6f76d-g8ptg             1/1     Running     0          12m


除去istio-init开头的STATUS为Running即代表安装成功了

Kubernetes-使用Helm安装istio

标签:table   oca   update   get   arc   https   while   component   kubectl   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!