7 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
687f337899
Enable leader election in ws-manager-mk2 (v3) (#18539)
* Enable leader election in ws-manager-mk2

* Update go modules

* Move workspace activity to CRD

* Remove workspace activity

* Cleanup

* Update ws-manager-mk2 CRD

* Cleanup

* Restore lastActivity logic

* TEST

* Disable observability

* Start the grpc server after leader election

* Bount the source of subscribers to an informer

* Cleanup

* Avoid deepCopy

* Remove goroutine to execute OnReconcile

* Refactor last activity to be consistent acrtoss the controllers

* Address feedback
2023-08-26 22:28:52 +02:00
Manuel Alejandro de Brito Fontes
7e3ccd1197
Revert "Enable leader election in ws-manager-mk2 (#18511)" (#18537)
This reverts commit 2838b782309bb22b9341b2cf7ead718fc34bcba8.
2023-08-17 13:02:43 +02:00
Manuel Alejandro de Brito Fontes
2838b78230
Enable leader election in ws-manager-mk2 (#18511)
* Enable leader election in wa-manager-mk2

* Switch to four parallel tests

* Cleanup

* Update activity started time after leader election

* Count maintenance test failures

* Wait before updating the activity started time
2023-08-17 11:13:43 +02:00
Manuel Alejandro de Brito Fontes
02b5cbe5ac
Revert "Enable leader election in ws-manager-mk2 (#18419)" (#18508)
This reverts commit 12d743072f0d287c3e1a9218016e3825f09a4836.
2023-08-14 11:54:40 +02:00
Manuel Alejandro de Brito Fontes
12d743072f
Enable leader election in ws-manager-mk2 (#18419)
* Enable leader election in wa-manager-mk2

* Remove old flag
2023-08-14 10:28:40 +02:00
Christian Weichel
abeea17ab5 Move ws-manager-mk2 CRD to API package 2023-01-23 14:14:30 +01:00
Christian Weichel
a4f800583d Debug commit: about to start the controller 2023-01-23 14:14:30 +01:00