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

      

  • 相关阅读:
    BZOJ 1221 [HNOI2001] 软件开发 费用流_建模
    BZOJ 1180 / 2843 LCT模板题 + 双倍经验
    bzoj 4372: 烁烁的游戏 动态点分治+树链剖分+线段树
    bzoj 3730: 震波 动态点分治+树链剖分+线段树
    luogu P2634 [国家集训队]聪聪可可 点分治
    bzoj 1468: Tree 点分治
    bzoj 1296: [SCOI2009]粉刷匠 动态规划
    bzoj 1293: [SCOI2009]生日礼物 问题转化 + 性质分析 + 滚动数组优化
    BZOJ 1042: [HAOI2008]硬币购物 容斥原理+背包
    matplotlib模块
  • 原文地址:https://www.cnblogs.com/zsifan/p/11822891.html
Copyright © 2011-2022 走看看