Skip to content
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

postgresql backup does not provide a NetworkPolicy matching the backup Pod #24286

Closed
axelfauvel opened this issue Mar 8, 2024 · 1 comment · Fixed by #24363
Closed

postgresql backup does not provide a NetworkPolicy matching the backup Pod #24286

axelfauvel opened this issue Mar 8, 2024 · 1 comment · Fixed by #24363

Comments

@axelfauvel
Copy link
Contributor

Name and Version

bitnami/postgresql 14.3.1

What is the problem this feature will solve?

Running postgresql backup on a kubernetes cluster that drops every network communication by default, backup cannot be used without manually creating a NetworkPolicy.

Otherwise, you get this kind of error message :

pg_dumpall: error: connection to server at "postgresql-primary" (172.31.140.138), port 5432 failed: Connection timed out
        Is the server running on that host and accepting TCP/IP connections?

This behaviour differs from primary and read that both comes with their NetworkPolicy.

What is the feature you are proposing to solve the problem?

Add a NetworkPolicy that allows :

  • egress: backup -> primary
  • ingress: primary <- backup

What alternatives have you considered?

No response

@axelfauvel axelfauvel changed the title postresql backup does not provide a NetworkPolicy matching the backup Pod postgresql backup does not provide a NetworkPolicy matching the backup Pod Mar 8, 2024
@github-actions github-actions bot added the triage Triage is needed label Mar 8, 2024
@carrodher
Copy link
Member

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants