我希望istio envoy代理将HTTP流量转换为https

编程入门 行业动态 更新时间:2024-10-28 21:15:19
本文介绍了我希望istio envoy代理将HTTP流量转换为https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在istio上使用了k8s. 而且,我有带有https端点(相互tls)的外部api

I'm using k8s with istio. And, I have external api with https endpoint (mutual tls)

我不希望k8s pod的每个api请求都实现相互tls调用,因此,如果istio envoy代理可以处理相互tls,那就太好了.然后pod可以使用http调用api,并且特使将请求转换为https mtls请求.

And I don't want every api request from k8s pod to implement mutual tls call, so it would be great if istio envoy proxy can process mutual tls. Then pod can call api with http, and request would be converted to https mtls request by envoy.

+---------------------------------+ | (pod) ---http--> (envoy proxy) -|-https(mtls)--> external api +---------------------------------+

我设法找到了与特使共同解决问题的方法. 如何将自定义客户端证书用于istio提供外部服务?

I managed to find a solution of mutual tls with envoy. How can I use custom client certificate for external service with istio?

现在,我应该找到如何设置特使代理以将http转换为https. 我猜我应该使用 ServiceEntry , DestinationRule , VirtualService ,但我坚持在这里.

Now I should find how to setup envoy proxy to convert http to https. I guess that I should use ServiceEntry, DestinationRule, VirtualService, but I stuck here.

救救我.

推荐答案

这里是istio.io的任务.

Here is a task on istio.io how to do it.

更多推荐

我希望istio envoy代理将HTTP流量转换为https

本文发布于:2023-11-01 19:16:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1550181.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:转换为   流量   envoy   istio   https

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!