Skip to content

Add tolerations for Postgres pods in backup and restore management#2089

Open
victorfernpach wants to merge 1 commit intoansible:develfrom
victorfernpach:add-tolerations-db-management-pod
Open

Add tolerations for Postgres pods in backup and restore management#2089
victorfernpach wants to merge 1 commit intoansible:develfrom
victorfernpach:add-tolerations-db-management-pod

Conversation

@victorfernpach
Copy link

SUMMARY

This pull request adds support for specifying Kubernetes tolerations for the db-management pods in both backup and restore ansible roles. This allows the pods to be scheduled on nodes with specific taints, improving deployment flexibility.

Kubernetes tolerations support:

  • Added a new variable db_management_pod_tolerations to roles/backup/defaults/main.yml for configuring tolerations as a list of dictionaries.
  • Added a new variable db_management_pod_tolerations to roles/restore/defaults/main.yml for configuring tolerations as a list of dictionaries.
  • Updated the roles/backup/templates/management-pod.yml.j2 template to inject the tolerations field into the pod spec if db_management_pod_tolerations is set.
  • Updated the roles/restore/templates/management-pod.yml.j2 template to similarly inject the tolerations field for restore management pods.
ISSUE TYPE
  • New or Enhanced Feature
ADDITIONAL INFORMATION

This fixes issues like #1774 and it is similar to what was requested here #1853

@victorfernpach victorfernpach changed the title feat: Add tolerations for Postgres pods in backup and restore management Add tolerations for Postgres pods in backup and restore management Dec 4, 2025
@victorfernpach victorfernpach force-pushed the add-tolerations-db-management-pod branch from d90ad71 to 2e3bfce Compare March 2, 2026 12:18
@victorfernpach
Copy link
Author

Hi, I've updated the branch with the latest devel changes. Could someone please trigger the molecule tests? This PR addresses the request for DB management pod tolerations. Thanks!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant