Commit f542481
authored
feat(deployments): reconcile controller and prerequisite DAG (AIRCORE-758) (#315)
* feat(deployments): add reconcile controller and prerequisite DAG (#758)
Introduce DeploymentsController with deployment/volume reconcilers,
prerequisite gating, drift recovery, and orphan cleanup on top of the
755 plugin scaffold. Stacks on PR #280 (AIRCORE-755).
AIRCORE-758
Signed-off-by: Tyler Bray <tbray@nvidia.com>
* fix(deployments): address remaining PR #315 CodeRabbit review items
Re-raise NemoEntityConflictError in deployment reconciler create/drift/save
paths, gate Docker integration tests on BACKEND_CLASSES, document split
list-health signals in README, and add ge=0 validation on DriftRecoveryPolicy.
AIRCORE-758
Signed-off-by: Tyler Bray <tbray@nvidia.com>
* chore(deployments): regenerate plugin OpenAPI spec for drift recovery fields
The lint-web-sdk check failed because plugins/nemo-deployments/openapi/openapi.yaml
was out of sync with the updated DriftRecoveryPolicy and Prerequisite models.
Signed-off-by: Tyler Bray <tbray@nvidia.com>
* fix(deployments): address PR #315 review feedback from benmccown and CodeRabbit
Retry backend delete failures in DELETING state, rename drift/orphan config
fields, rename listing helpers to entity_client, trim README to Controller
section, and apply remaining review nits (docstrings, RuntimeError guards,
substrate wording, test coverage).
AIRCORE-758
Signed-off-by: Tyler Bray <tbray@nvidia.com>
---------
Signed-off-by: Tyler Bray <tbray@nvidia.com>1 parent 31e34e0 commit f542481
27 files changed
Lines changed: 2425 additions & 17 deletions
File tree
- plugins/nemo-deployments
- openapi
- src/nemo_deployments_plugin
- reconciler
- tests
- integration
- unit
- reconciler
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
20 | 44 | | |
21 | 45 | | |
22 | 46 | | |
| |||
27 | 51 | | |
28 | 52 | | |
29 | 53 | | |
30 | | - | |
| 54 | + | |
31 | 55 | | |
| 56 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments