有没有人能够让Apache在Kubernetes上使用Istio。我有Apache Ignite客户端和服务器pod通信在Kubernetes上成功工作,但一旦注入特使sidecar,我们就会收到以下错误:
Caused by: org.apache.ignite.spi.IgniteSpiOperationTimeoutException: Failed to perform handshake due to timeout (consider increasing 'connectionTimeout' configuration property).
at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.handshakeTimeoutException(TcpCommunicationSpi.java:3894) [ignite-core-2.8.1.jar!/:2.8.1]
at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.safeTcpHandshake(TcpCommunicationSpi.java:4138) [ignite-core-2.8.1.jar!/:2.8.1]
at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createNioSession(TcpCommunicationSpi.java:3607) [ignite-core-2.8.1.jar!/:2.8.1]
... 15 common frames omitted
如果有任何帮助,我们将不胜感激?
解决方法是向部署添加注释
traffic.sidecar.istio.io/excludeInboundPorts: "47100,47500"
traffic.sidecar.istio.io/excludeOutboundPorts: "47100,47500"