add tolerations/nodeselector to migration job template (fixes #1774) (#1804)

Enable fallback to global settings for db-migration job scheduling (#1804)

Modified the db-migration job template to use `task_*` settings with a fallback to global AWX configurations if not specified.
This commit is contained in:
Ranvit Bommineni
2024-05-01 14:10:29 -05:00
committed by GitHub
parent 6fff7cb485
commit 4fc20de72e
2 changed files with 33 additions and 0 deletions

View File

@@ -88,3 +88,8 @@ spec:
- S2
topologyKey: topology.kubernetes.io/zone
```
#### Special Note on DB-Migration Job Scheduling
For the **db-migration job**, which applies database migrations at cluster startup, you can specify scheduling settings using the `task_*` configurations such as `task_node_selector`, `task_tolerations`, etc.
If these task-specific settings are not defined, the job will automatically use the global AWX configurations like `node_selector` and `tolerations`.