Skip to content

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
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