GoogleCloudPlatform / terraform-example-foundation-app

https://registry.terraform.io/modules/GoogleCloudPlatform/terraform-example-foundation-app/google
Apache License 2.0
33 stars 36 forks source link

Pods fail to connect to the external database #69

Closed daniel-cit closed 3 years ago

daniel-cit commented 3 years ago

Expected Behavior

Pod can connect to the external database

Actual Behavior

pods fail to connect to the external database

it is necessary to Enable external ServiceEntry for database connection. It is also possible to add an annotation to the deployments to exclude the CIDR range of the SQL servers from the istio-proxy

  template:
    metadata:
      labels:
        app: boa
        service: balancereader
      annotations:
        traffic.sidecar.istio.io/includeOutboundIPRanges: "10.16.64.0/21"

Steps to Reproduce the Problem

  1. Follow all the instruction to deploy the foundation app

Specifications