-
Notifications
You must be signed in to change notification settings - Fork 611
Any advice about running pgo in a service mesh like istio? #2341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@jkatz how to add an annotation to |
@jkatz @alrooney
|
@gowrisankar22 we paused our istio rollout but planning to look at using pg as an external service because of issues with pgo and istio. |
Is anyone successfully running PGO with Istio? The first issue I ran into was the backup pod erroring out:
I believe this is due to the backup pod running an Istio sidecar, and the k8s API server not running Istio, so it cannot connect via TLS. Thinking of disabling the Istio sidecar for just the backup pod and seeing how that goes. Would be curious to hear how this has or has not worked for others. |
Any update here? Sounds like apps running TLS themselves will clash with Istio. |
Let me share what we did to run PGO inside the Istio service mesh enabling mTLS communication. We did the following things for it.
|
With latest istio, just add label to
Hope it helps |
Now your postgres traffic is outside the service mesh, which just creates more problems. |
On our side, the issue comes from the port name We found that by running: > istioctl analyze -n postgres-operator
Info [IST0118] (Service postgres-operator/hippo-ha) Port name postgres (port: 5432, targetPort: postgres) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service postgres-operator/hippo-primary) Port name postgres (port: 5432, targetPort: postgres) doesn't follow the naming convention of Istio port.
Info [IST0118] (Service postgres-operator/hippo-replicas) Port name postgres (port: 5432, targetPort: postgres) doesn't follow the naming convention of Istio port. @tony-landreth, do you think we can we change the constant |
We currently run pgo ver 4.5.0. We are looking at using istio service mesh. Any advice or recommendations using pgo with service mesh? Do you know if anyone has successfully run pgo in a service mesh environment? Wondering how pgo might interplay with istio during primary -> replica failover for example.
The text was updated successfully, but these errors were encountered: