Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kubernetes 通过Istio虚拟服务路由到外部站点_Kubernetes_Istio - Fatal编程技术网

Kubernetes 通过Istio虚拟服务路由到外部站点

Kubernetes 通过Istio虚拟服务路由到外部站点,kubernetes,istio,Kubernetes,Istio,我在业余时间做一个辅助项目来学习Istio,其中一部分就是用Istio路由弄脏我的手 我正在尝试设置一个虚拟服务,这样“/”上的任何流量都可以路由到google.com。我可以让虚拟服务与集群内的任何吊舱/服务一起工作,但我似乎无法将Istio配置为路由到集群外的任何内容 非常感谢您的指导,为google.com干杯,然后创建一个虚拟服务,以与mesh services相同的方式引用google.com。请注意协议的问题-您想通过HTTP或HTTPS访问google.com吗?您可能希望为您提供

我在业余时间做一个辅助项目来学习Istio,其中一部分就是用Istio路由弄脏我的手

我正在尝试设置一个虚拟服务,这样“/”上的任何流量都可以路由到google.com。我可以让虚拟服务与集群内的任何吊舱/服务一起工作,但我似乎无法将Istio配置为路由到集群外的任何内容


非常感谢您的指导,为google.com干杯,然后创建一个虚拟服务,以与mesh services相同的方式引用google.com。请注意协议的问题-您想通过HTTP或HTTPS访问google.com吗?您可能希望为您提供Istio。

为google.com配置服务条目。请全面、准确地参阅文档