Commit Graph

36 Commits

Author SHA1 Message Date
katexochen
1af3ffd46c Fix autoscalingstrategy controller test 2022-09-22 09:10:19 +02:00
katexochen
ba6e41ed5c Upgrade go module to v2 2022-09-22 09:10:19 +02:00
katexochen
e301f575df Let operator manage autoscaling of node groups 2022-09-20 13:41:23 +02:00
Malte Poll
5f98e699e4 node operator: nodeimage controller: ensure heirs are promoted to updated once in same reconcile loop as node deletion
Prevents conditions where Reconcile is not called after deleting a node, leading to an out of date status on the nodeimage.
2022-09-13 15:58:38 +02:00
Malte Poll
8b4918cc53 envtest: use eventually 2022-09-13 15:58:38 +02:00
katexochen
114a51b29c Ignore unchecked error 2022-09-13 15:58:38 +02:00
katexochen
fb7ceb5586 Fix comment dot 2022-09-13 15:58:38 +02:00
Thomas Tendyck
bd63aa3c6b add license headers
sed -i '1i/*\nCopyright (c) Edgeless Systems GmbH\n\nSPDX-License-Identifier: AGPL-3.0-only\n*/\n' `grep -rL --include='*.go' 'DO NOT EDIT'`
gofumpt -w .
2022-09-05 09:17:25 +02:00
Malte Poll
07c6c4e190 node operator: retry updating pendingNode deadline on conflict
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-30 10:04:42 +02:00
katexochen
35a5d34497 Remove legacy build tags 2022-08-24 14:56:30 +02:00
Malte Poll
f050a301d0 [node-operator] autoscalingstrategy-controller: improve test robustness (#372) 2022-08-17 18:38:54 +02:00
Malte Poll
23dfc5549b [node-operator] nodeimage-controller: improve test robustness
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-16 08:47:34 +02:00
Malte Poll
264e4beac3 Double timeouts for envtests (#355) 2022-08-09 14:48:41 +02:00
Malte Poll
1df2a20a36 CI: build and upload node operator 2022-08-09 10:29:04 +02:00
Malte Poll
fb4bc1545f [node operator] case insensitive equality checks for image and scaling group references 2022-08-09 10:29:04 +02:00
Malte Poll
0618a000a7 [node operator] nodeimage controller: remove control-plane nodes from etcd cluster before deleting k8s node object
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
2860fe4eec [node operator] RBAC: add missing permissions
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
b0d93b96dc [node operator] PendingNode: check if node was deleted every 30 seconds after regular deadline expires
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
4be164dec4 [node operator] NodeImage env test
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
be27de3b71 [node operator] Add nodemaintenance CRD
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
1cc8c36052 [node operator] NodeImage controller unit test
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
12ce267bac [node operator] NodeImage controller impl
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
614447495d [node operator] PendingNode controller env test
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
19568d400b [node operator] PendingNode controller unit test
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
627b9e7ae8 [node operator] PendingNode controller impl
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
d62ae3add3 [node operator] ScalingGroupController env test
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
8bc1db609f [node operator] ScalingGroup controller impl
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
bdb4260912 [node operator] AutoscalingStrategy env test
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
69d47730c8 [node operator] AutoscalingStrategy controller impl
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
9e1cb8ec47 [node operator] controller client doubles
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
daf236975f [node operator] envtest: start and stop manager
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
72cb9c7cf8 [node operator] gofmt
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
9c3f7fec39 [node operator] PendingNode API gen
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
b315ec6dc1 [node operator] ScalingGroup API gen
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
ac5ddc27f2 [node operator] AutoscalingStrategy API gen
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00
Malte Poll
546e53f3df [node operator] NodeImage API gen
Signed-off-by: Malte Poll <mp@edgeless.systems>
2022-08-09 10:29:04 +02:00