GKE init container won't be able to connect GCP SQL after Anthos service Mesh Installation

151 Views Asked by At

Once I have installed the Anthos service mesh in private GKE autopilot cluster init container won't be able to connect GCP SQL RDS however before anthos service mesh installation init container is able to connect GCP SQL RDS. Is anyone facing this type of issue if yes then please help here?

In the init container I'm trying to check connectivity by below command: until nc -w 5 <PRIVATE_IP> 3306; do echo "Waiting for the <PRIVATE_IP>..."; sleep 5; done

1

There are 1 best solutions below

0
On

Do you have mutual tls enabled ? Can you try to edit the sidecar configuration ?

apiVersion: networking.istio.io/v1alpha3
kind: Sidecar
metadata:
  name: default
  namespace: example
spec:
  outboundTrafficPolicy:
    mode: ALLOW_ANY