postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Question: Is possible to use ingress with Zalando Operator.

Open PGPAWAN opened this issue 1 year ago • 5 comments

Just wanted to know is Zalando operator support ingress to connect with postgres pod?

Using Production: yes K8 version: 1.23 Operator Version: postgres-operator:v1.9.0

PGPAWAN avatar Jan 03 '24 06:01 PGPAWAN

yes @PGPAWAN, we can use the ingress in front of the postgress-pods, i am using it, and it is working perfectly.

tarunmittal24 avatar Jan 23 '24 02:01 tarunmittal24

@tarunmittal24 Thank for your response.. could please share share more details about ..how you are using if this possible.

PGPAWAN avatar Jan 23 '24 05:01 PGPAWAN

I am using the kong-ingress deployed on the eks cluster and supports tcp traffic, load-balancer is NLB, as we need to use it for tcp traffic, and then just the ingress creation as normal we do. In kong, for tcp traffic routing, instead of Kind: Ingress we need to create the Kind: TCPIngress.

Route53--->NLB--->Kong Ingress Controller[with TCP Traffic supported] (by creating Kind: TCPIngress)----> SVC (postgress-service)---> PODS

tarunmittal24 avatar Jan 23 '24 05:01 tarunmittal24

@tarunmittal24 Thank you very much for sharing the solution.

xieydd avatar Feb 27 '24 08:02 xieydd

@tarunmittal24 Have you enabled SNI in TCPIngress?

xieydd avatar Mar 02 '24 14:03 xieydd