首页 > TAG信息列表 > VirtualService

virtualservice超时重试

[root@k8s-master 09-http-retry]# kubectl apply -f ./ [root@k8s-master 09-http-retry]# cat virtualservice-demoapp.yaml apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: demoapp spec: hosts: - demoapp http: - name: cana

【 ServiceMesh 】VirtualService实现Istio高级流量治理

一、VirtualService(丰富路由控制) 1.1、URL重定向 (redirect和rewrite) redirect :即重定向。rewrite :即重写,不仅仅可以实现redirect在url上的重定向,还可以直接重写请求道实际的文件以及更多附加功能。 1.1.1、案例示图 proxy-gateway -> virtualservices/proxy -> virtualser

Istio使用【CRDs】

本文使用istio版本:1.4.2  Istio安装时,第一步就是创建了各种自定义资源类型(CRD),参考istio部署【在kubernetes上部署】,其中最重要的几个CRD包括:Gateway、VirtualService、DestinationRule、ServiceEntry。主要架构如下图: Gateway充当入口服务,DestinationRule用于定义目标服务,Virt

istio-gateway-virtualService

部署istio的ingressGateway时, 把istio的IngressGateway理解为 k8s的ingressController 把Gateway理解为 k8s的ingress规则 将k8s的Service通过VirtualService映射到Gateway apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: name: test-gateway namespace: test

istio service

1.  服务步骤   pod -> service -> DestinationRule(目标规则) -> VirtualService(路由规则)        

Istio v1alpha3

总体架构 discovery service : 从 Kubernetes apiserver list/watch service、endpoint、pod、node 等资源信息,监听 istio 控制平面配置信息(如VirtualService、DestinationRule等), 翻译为 Envoy 可以直接理解的配置格式。 proxy : 也就是 Envoy,直接连接 discovery service,间接