什么是Envoy
envoy是一个application , proxy,也就是我们istio中的sidecar, 这是istio使用的一个第三方工具
envoy可以脱离istio 独立运行,但是需要额外的配置,istio把envoy 和kubernetes 链接起来了,并把envoy进行了封装,让我们使用istio的时候可以简单的使用
我们可以使用yml文件来管理envoy
例如:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: fleetman-driver-monitoring spec: hosts: - 2oujlno5e4.execute-api.us-east-1.amazonaws.com http: - match: - port: 80 route: - destination: host: 2oujlno5e4.execute-api.us-east-1.amazonaws.com port: number: 443 |
我们不需要了解envoy具体怎么设置,我们只需要我们的virtualservice怎么配置就可以了(这是一个自定义的CRD,普通的kubernetes并不存在)
Latest posts by Zhiming Zhang (see all)
- aws eks node 自动化扩展工具 Karpenter - 8月 10, 2022
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021