helm3 安装istio

4 篇文章 0 订阅

之前写过一个helm2安装istio的,今天因为项目需要必须得用helm3进行安装,helm3和helm2的区别其实挺大的,操作命令也有很大的不同,这里记录一下安装过程

helm repo add azure http://mirror.azure.cn/kubernetes/charts/

helm repo update

helm search  repo mysql //测试helm charts repo是否正常访问

之后istio安装

直接代码操作

1 .wget https://github.com/istio/istio/releases/download/1.3.2/istio-1.3.2-linux.tar.gz  (curl也行)

    tar -xvf istio-1.3.2-linux.tar.gz

    cd  istio-1.3.2

    export PATH=$PWD/bin:$PATH

2 helm 配置istio的仓库(这里是微软的  其余的仓库也可以)

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

3 创建namesapce

     kubectl create namespace istio-system

4 创建crd资源

helm install   istio-init  istio.io/istio-init   -n istio-system

     --set gateways.istio-ingressgateway.type=NodePort --set grafana.enabled=true --set kiali.enabled=true --set tracing.enabled=true --set pilot.resources.requests.memory="1024Mi"  根据自己实际情况选择

5 创建

helm install  istio  istio.io/istio   -n  istio-system

     -set gateways.istio-ingressgateway.type=NodePort -set grafana.enabled=true -set kiali.enabled=true -set tracing.enabled=true 根据自己实际的情况进行选择

至于helm3的安装,网上有很多的教程,这里就不介绍了!

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值