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 | ㅤ | ㅤ | ㅤ | ㅤ | ㅤ | ㅤ |





上面测试用的应用bookinfo
安装bookinfo
创建bookinfo的HTTPRoute
访问bookinfo服务,使用浏览器打开http://local.projectcontour.io:9090/productpage
不停使用F5刷新,观察kiali,jaeger,zipkin,skywalking,grafana等

- 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