共倒金荷家万里
English
往期整理
  •   文章分类
  •   文章标签
共倒金荷家万里
Article
44
Category
2
Tags
6
English
往期整理
文章分类
文章标签
work
istio-on-k8s
Post on: 2024-9-30
Last edited: 2024-9-30
Views
Kubernetes
type
status
date
slug
summary
tags
category
icon
password

使用Podman on Windows安装kind

Install Podman on Windows
get podman VM IP
e.g.
Install kubectl
点击settings->resources->kubectl
Install kind
点击左下角kind
Creating a kind cluster
点击settings->resources->kind
get kubernetes cluster master IP
e.g.

登录master安装istio

Download Istio
Install Istio using the demo profile
Add a namespace label to instruct Istio to automatically inject Envoy sidecar proxies when you deploy your application later:
Install Kiali and the other addons and wait for them to be deployed.
安装Gateway API
In addition to its own traffic management API, Istio includes beta support for the Kubernetes Gateway API and intends to make it the default API for traffic management in the future
看起来云原生生态正在拥抱Gateway API(HTTPRoute),因此我们使用Gateway API(HTTPRoute)代替Istio APIs(VirtualService)
创建gatewayclass
创建istio的Gateway
由于istio-gateway的service运行在kind中,我们无法直接从个人电脑访问,简单地修改istio-gateway的deployment(containerPort: 80映射到hostPort: 80,containerPort: 443映射到hostPort: 443),再通过podman的http映射(containerPort: 80映射到hostPort: 9090,containerPort: 443映射到hostPort: 9443)访问

使用istio

istio可集成这些组件,通过创建这些组件的httproute,可以使用GUI,例如kiali,使用浏览器打开http://local.projectcontour.io:9090/kiali
ㅤ
metadata.name
metadata.namespace
spec.rules.matches.path.type
spec.rules.matches.path.value
spec.rules.backendRefs.name
spec.rules.backendRefs.port
Kiali
kiali-httproute
istio-system
PathPrefix
/kiali
kiali
20001
Jaeger
tracing-httproute
istio-system
PathPrefix
/jaeger
tracing
80
Zipkin
tracing-httproute
istio-system
PathPrefix
/zipkin
tracing
80
Apache SkyWalking
tracing-httproute
istio-system
PathPrefix
/
tracing-ui
8080
Grafana
grafana-httproute
istio-system
PathPrefix
/
grafana
3000
Prometheus
ㅤ
ㅤ
ㅤ
ㅤ
ㅤ
ㅤ
cert-manager
ㅤ
ㅤ
ㅤ
ㅤ
ㅤ
ㅤ
SPIRE
ㅤ
ㅤ
ㅤ
ㅤ
ㅤ
ㅤ
notion image
notion image
notion image
notion image
notion image

上面测试用的应用bookinfo

安装bookinfo
创建bookinfo的HTTPRoute
访问bookinfo服务,使用浏览器打开http://local.projectcontour.io:9090/productpage
不停使用F5刷新,观察kiali,jaeger,zipkin,skywalking,grafana等
notion image
  • Author:共倒金荷家万里
  • URL:https://tangly1024.com/article/11140ef0-3786-80c1-a074-d8186dee52fe
  • Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
fluentd&fluentbit-on-k8s
prometheus-on-k8s
contour-on-k8s
kafka-on-k8s
EFK-on-k8s
zookeeper-on-k8s
transfer-tools迁移对象存储fluentd&fluentbit-on-k8s
Loading...
Catalog
0%
使用Podman on Windows安装kind登录master安装istio使用istio上面测试用的应用bookinfo
共倒金荷家万里
共倒金荷家万里
何日把酒言欢
Article
44
Category
2
Tags
6
Latest posts
RAGFlow practice
RAGFlow practice
2025-4-7
Dify practice
Dify practice
2025-4-7
DBMotion deployment
DBMotion deployment
2024-12-10
datebase deployment(on laptop)
datebase deployment(on laptop)
2024-11-8
mysql shell migrate mysql
mysql shell migrate mysql
2024-11-6
wordpress+mysql+minio development(on cloud service)
wordpress+mysql+minio development(on cloud service)
2024-11-6
Announcement
实践是检验真理的唯一标准
 
Catalog
0%
使用Podman on Windows安装kind登录master安装istio使用istio上面测试用的应用bookinfo
2021-2025 共倒金荷家万里.

共倒金荷家万里 | 何日把酒言欢

Powered by NotionNext 4.7.3.