Istio安装与Bookinfo部署

本文档详细介绍了如何安装Istio的demo版本,并逐步部署Bookinfo这个官方示例应用。Bookinfo由四个独立的微服务组成,模拟了一个在线书店,展示了Istio的多种特性。安装过程包括选择安装类型、部署应用,以及通过自动注入Sidecar、创建Gateway来对外暴露服务。最后,验证了服务的可达性和可用性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、下载Istio软件包

➜  ~ curl -L https://istio.io/downloadIstio | sh - 

在这里插入图片描述

➜  ~ ls -l istio-1.10.1               
total 48
-rw-r--r--   1 jyy  staff  11348  6  5 04:44 LICENSE
-rw-r--r--   1 jyy  staff   5866  6  5 04:44 README.md
drwxr-x---   3 jyy  staff     96  6  5 04:44 bin
-rw-r-----   1 jyy  staff    854  6  5 04:44 manifest.yaml
drwxr-xr-x   5 jyy  staff    160  6  5 04:44 manifests
drwxr-xr-x  21 jyy  staff    672  6  5 04:44 samples
drwxr-xr-x   5 jyy  staff    160  6  5 04:44 tools

二、安装Istio demo版本

➜  ~ export PATH="$PATH:/Users/jyy/istio-1.10.1/bin"
➜  ~ istioctl  version                              
no running Istio pods in "istio-system"
1.10.1

在这里插入图片描述
  Istio有四个安装类型版本和自定义安装配置组件,分别是default、demo、minimal、remote,不同的安装类型版本,所安装的集群组件不同,此处我们安装demo版本的即可。
  在这里插入图片描述

~ istioctl manifest apply --set profile=demo 
Detected that your cluster does not support third party JWT authentication. Falling back to less secure first party JWT. See https://istio.io/v1.10/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for details.
! values.global.jwtPolicy is deprecated; use Values.global.jwtPolicy=third-party-jwt. See http://istio.io/latest/docs/ops/best-practices/security/#configure-third-party-service-account-tokens for more information instead
This will install the Istio 1.10.1 demo profile with ["Istio core" "Istiod" "Ingress gateways" "Egress gateways"] components into the cluster. Proceed? (y/N) y
✔ Istio core instal
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值