Postgres Kubernetes Helm chart fails when istio enabled

6/2/2020

I have installed istio in my aks cluster and enabled it to a namespace called database as below.

kubectl label namespace database istio-injection=enabled

I'm going to install helm3 posgress database into database namespace.

helm install pg-db bitnami/postgresql-ha --version=2.0.1 -n database

few seconds database starting to fails because the database pod is not considered healthy.

when I disable adding sidecar into database as below it doesn't restart. How can I run this helm chart without disabling sidecar

podAnnotations:
    sidecar.istio.io/inject: "false"

listing pods pods

pg-db-postgresql-ha-postgresql-1 logs pg-db-postgresql-ha-postgresql-1 logs

pg-db-postgresql-ha-pgpool-5475f499b8-7z4ph logs pg-db-postgresql-ha-pgpool-5475f499b8-7z4ph logs

-- Padmasankha
azure-aks
istio
kubernetes
kubernetes-helm

0 Answers