如何将 Istio-ingressgateway 类型从 "LoadBalancer" 更改为 "ClusterIP"
How to change Istio-ingressgateway type from "LoadBalancer" to "ClusterIP"
我正在使用 Azure Kubernetes。我安装了 Istio 1.6.1。它安装了带有 LoadBalancer 的 Istio-ingressgateway。我不想使用 Istio ingressgateway,因为我想要 kong ingress。
我尝试 运行 下面的命令将 istio-ingress 服务从 LoadBalancer 更改为 ClusterIP,但出现错误。
$ kubectl patch svc istio-ingressgateway -p '{"spec": {"ports": "type": "ClusterIP"}}' -n istio-system
Error from server (BadRequest): invalid character ':' after object key:value pair
不确定我是否可以进行更改并删除并重新创建 istio-ingress 服务?
我正在使用 Azure Kubernetes。我安装了 Istio 1.6.1。它安装了带有 LoadBalancer 的 Istio-ingressgateway。我不想使用 Istio ingressgateway,因为我想要 kong ingress。
我尝试 运行 下面的命令将 istio-ingress 服务从 LoadBalancer 更改为 ClusterIP,但出现错误。
$ kubectl patch svc istio-ingressgateway -p '{"spec": {"ports": "type": "ClusterIP"}}' -n istio-system
Error from server (BadRequest): invalid character ':' after object key:value pair
不确定我是否可以进行更改并删除并重新创建 istio-ingress 服务?