zoukankan      html  css  js  c++  java
  • 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

      

  • 相关阅读:
    常量与变量
    BandicamPortable破解软件的按照和设置
    普罗米修斯监控马哥亲自讲解
    为什么需要监控,在哪些层次上监控,监控什么
    prometheus比zabbix好在哪点?
    聊一聊几款流行监控系统,你知道几个?
    监控系统选型看这一篇够了!选择 Prometheus 还是 Zabbix ?
    DNS详细解析问题
    洛谷 P4025 [PA2014]Bohater(贪心)
    洛谷 P1842 [USACO05NOV]奶牛玩杂技(贪心)
  • 原文地址:https://www.cnblogs.com/zsifan/p/11822891.html
Copyright © 2011-2022 走看看