Commit d2bce4e
committed
WIP Add dataplane service dependency graph and fallback ordering
Introduce dependsOn on services and fallbackToListOrder (*bool,
default true) on deployments. Services are topologically sorted into
execution levels. Explicit dependsOn stays authoritative, while services
without dependsOn can temporarily fall back to list predecessor order.
Change-Id: I3bdeb6e51dbba7dda14f2c7a60a496cc3df85260
Signed-off-by: rabi <ramishra@redhat.com>1 parent c31bbb1 commit d2bce4e
39 files changed
Lines changed: 715 additions & 157 deletions
File tree
- api
- bases
- dataplane/v1beta1
- bindata/crds
- config
- crd/bases
- services
- internal
- controller/dataplane
- dataplane
- test
- functional/dataplane
- kuttl/tests
- dataplane-deploy-global-service-test
- dataplane-deploy-no-nodes-test
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
| |||
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 | |
|---|---|---|---|
| |||
19035 | 19035 | | |
19036 | 19036 | | |
19037 | 19037 | | |
| 19038 | + | |
| 19039 | + | |
| 19040 | + | |
| 19041 | + | |
| 19042 | + | |
| 19043 | + | |
19038 | 19044 | | |
19039 | 19045 | | |
19040 | 19046 | | |
| |||
21399 | 21405 | | |
21400 | 21406 | | |
21401 | 21407 | | |
| 21408 | + | |
| 21409 | + | |
| 21410 | + | |
| 21411 | + | |
| 21412 | + | |
| 21413 | + | |
| 21414 | + | |
| 21415 | + | |
21402 | 21416 | | |
21403 | 21417 | | |
21404 | 21418 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
119 | 127 | | |
120 | 128 | | |
121 | 129 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
0 commit comments