Thomas Schubart
c4f9a428aa
[ws-manager-mk2] Simplify workspace session management ( #17924 )
...
* [ws-daemon] Simplify session management
* [ws-daemon] Remove duplicated code
* [ws-daemon] Fix names for tracing
2023-06-15 19:12:06 +08:00
Thomas Schubart
460875058f
[ws-manager-mk2] Remove ws-manager-mk2 from experimental section ( #17848 )
...
* [wsman-mk2] Remove ws-manager-mk2 from experimental
* [ws-daemon] Remove readiness check for service
* [ws-daemon] Use mk2 working area only
* [preview] Remove mk2 customization
* [installer] Remove constant
2023-06-06 22:56:57 +08:00
Thomas Schubart
588d2919de
[ws-manager-mk2] Remove workspace service ( #17801 )
...
* [ws-daemon] Remove workspace service
* [ws-daemon] Move metrics
2023-05-31 23:08:06 +08:00
Manuel Alejandro de Brito Fontes
9cf0243e54
Add new feature for custom workspace network CIDR ( #17145 )
...
* Add new feature for custom workspace network CIDR
* Cleanup
2023-04-07 13:17:47 +02:00
Thomas Schubart
8871aed078
[wsman-mk2] Garbage collection for mk2 workspaces ( #17021 )
2023-03-24 18:18:16 +01:00
Thomas Schubart
c64c4f3530
[ws-manager-mk2] Rely on controller concurrency mechanism for content init and backup ( #16823 )
...
* [wsman-mk2] Replace in memory state handling
* [ws-daemon] Operate on latest workspace CR
* [ws-daemon] Review comments
2023-03-23 16:31:17 +01:00
Thomas Schubart
42a3602fce
[ws-manager-mk2] Emit events for workspaces and snapshots ( #16907 )
...
* [wsman-mk2] Emit workspace events
* [installer] Permissions for events
* [ws-man-mk2] Emit snapshot events
* [installer] Update render tests
* [wsman-mk2] Include review comments
2023-03-20 13:59:12 +01:00
Thomas Schubart
c800175c72
[ws-manager-mk2] Protect tokens ( #16806 )
...
* [wsman-mk2] Create token secret
* [installer] Fix casing for namespace type metadata
* [installer] Create secrets namespace
* [installer] Configure roles and bindings
* [installer] Move namespace constant to common pkg
* [installer] Create permissions for ws-daemon
* [wsman-mk2] Watch on multiple ns
* [ws-daemon] Use token secret
* [wsman-mk2] Remove secret from initializer
* [wsman-mk2] Test token secret
* [werft] Fix document index
* [installer] Update render tests
* [wsman-mk2] Fix imports
* [wsman-mk2] Ensure maintenance controller required permissions
* [wsman-mk2] Retry deleting secret
* [installer] Ensure objects in secrets namespace are only created with mk2 option
2023-03-15 12:57:07 +01:00
Wouter Verlaek
1631a4a038
[ws-manager-mk2] Loadgen fixes, concurrent reconciliation ( #16613 )
...
* [ws-manager-mk2] Loadgen fixes, concurrent reconciliation
* [ws-manager-mk2] Update tests with content readiness
* Simplify content ready check
* Fix json tags
* Revert poll interval
2023-03-06 15:18:04 +01:00
Manuel Alejandro de Brito Fontes
dc69bb20ca
Remove host controller from ws-daemon ( #16615 )
...
* Remove host controller from ws-daemon
* Configure /etc/hosts file in registry-facade
* Update golden files
2023-03-01 00:55:58 +01:00
Thomas Schubart
116a5b97b2
[ws-manager-mk2] Support workspace snapshots ( #16471 )
...
* [ws-manager-mk2] Scaffold snapshot CRD
* [ws-mangaer-mk2] Generate snapshot type
* [ws-manger-mk2] Provide snapshot endpoint
* [ws-daemon] Handle snapshots
* [ws-manager-mk2] Harmonize imports
* [ws-manger-mk2] Set owner reference
* [installer] Install snapshot CRD
* [ws-manager-api] Fix descriptions
* [ws-manager-mk2] Review comments
- Name controller
- Return early in case of error
- Reduce scope of permissions
2023-02-23 16:45:53 +01:00
Wouter Verlaek
74e2fee712
[ws-daemon] Expose controller metrics ( #16465 )
2023-02-23 10:41:53 +01:00
Christian Weichel
0442b4688c
[ws-daemon] Remove last cgroup v1 plugin
2023-02-22 14:27:52 +01:00
Christian Weichel
0eed48b048
[ws-daemon] Enforce cgroup v2
2023-02-22 14:27:52 +01:00
Thomas Schubart
748d15ea54
[ws-daemon] Disable health and metric endpoint
...
Binds to the same port as ws-daemon grpc server
2023-02-09 12:30:14 +01:00
Manuel Alejandro de Brito Fontes
51e4ee5ea0
Remove cgroup v1 plugins
2023-02-06 00:52:43 +01:00
Thomas Schubart
fb41408cc3
[ws-daemon] Register metrics
2023-01-30 14:59:37 +01:00
Thomas Schubart
75be62fba0
[ws-daemon] Dispose workspace
2023-01-30 14:59:37 +01:00
Thomas Schubart
57a0bb90db
[ws-daemon] Ensure controller manager is not active
2023-01-24 19:22:32 +01:00
Christian Weichel
572fcbb008
[ws-daemon] Start workspace controller based content init
2023-01-23 14:14:30 +01:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Thomas Schubart
f65dc0e35c
[ws-daemon] Make oom scores configurable
2022-11-10 14:43:40 +02:00
Thomas Schubart
71c5d10201
[ws-daemon] Set oom_score_adj
2022-11-10 14:43:40 +02:00
Thomas Schubart
183ec3cae3
[ws-daemon] Plugin for PSI metrics
2022-10-21 10:42:36 +02:00
Thomas Schubart
9e39e66303
[ws-daemon] Support updating netlimits
2022-10-18 15:24:33 +02:00
Manuel Alejandro de Brito Fontes
085a4e0a45
Fix typecheck errors
2022-10-04 15:17:22 +02:00
Thomas Schubart
4fe7402203
[ws-daemon] Plugin for setting up network limits
2022-08-24 14:14:40 +02:00
Manuel Alejandro de Brito Fontes
8130107b0f
[ws-daemon] Add support for limiting the number of processes in a workspace
2022-07-18 23:25:14 +02:00
Manuel Alejandro de Brito Fontes
3d7bc33ad3
[ws-daemon] Add additional process type priorities
2022-07-07 09:15:54 +05:30
Manuel Alejandro de Brito Fontes
05642003d6
[ws-daemon] Add plugin to set custom process priorities
2022-07-06 13:39:53 +05:30
Manuel Alejandro de Brito Fontes
27dfa4cf60
Add support for systemd driver
2022-06-20 20:43:31 +05:30
Manuel Alejandro de Brito Fontes
14a9cbc59e
Include cgroups v2 error instead of a static message
2022-06-20 20:43:31 +05:30
Pavel Tumik
e24461cb8b
[ws-daemon] ensure readyiness probe will not block indefinetely
2022-05-19 06:26:33 +05:30
Pavel Tumik
cb04a49761
[ws-daemon] log when ready probe fails
2022-05-18 04:13:32 +05:30
Manuel Alejandro de Brito Fontes
9e2f4acb68
Fix check logic for I/O limits
2022-04-25 20:08:37 +05:30
Christian Weichel
8dd76ed762
[ws-daemon] Support config reload for IO limits
2022-04-21 05:08:33 +05:30
Manuel Alejandro de Brito Fontes
bdb45ab341
Refactor I/O limit annotation
2022-04-21 00:52:33 +05:30
Thomas Schubart
d31bb31072
Fix io imits not written after workspace stop
2022-04-19 19:50:32 +05:30
Manuel Alejandro de Brito Fontes
1a3a50b138
[ws-daemon] Only limit storage device classes
2022-04-19 18:46:32 +05:30
Christian Weichel
7853926dc0
[ws-daemon] Introduce IO limiting
2022-04-13 03:49:25 +05:30
Thomas Schubart
bf08a52c97
Enable fuse device on cgroup v2
2022-04-04 07:39:17 +05:30
Manuel Alejandro de Brito Fontes
e894487df2
[ws-daemon] Configure readiness probe
2022-03-29 22:20:13 +05:30
utam0k
f3a51dc6d6
ws-daemon: Align cgroupv2 decisions with others
2022-03-08 16:15:15 +05:30
utam0k
abe4adfca8
Disable cache reclaim when cgroup v2.
...
Because cache reclaim supports only when using cgroup v1.
2022-03-08 16:15:15 +05:30
Christian Weichel
5702a9c74c
[iws] Prepare cgroup when prearing for user NS
2022-03-04 04:08:11 +05:30
Christian Weichel
1daa0db08f
[ws-daemon] Add page-cache reclaim
2022-02-10 21:38:32 +01:00
Christian Weichel
462e269689
[ws-daemon] Integrate new CPU limiter
2022-02-08 16:36:30 +01:00
Christian Weichel
da1919f1cc
[ws-daemon] Properly handle mark unmount
2021-09-29 09:07:46 -03:00
Manuel Alejandro de Brito Fontes
cd38227990
[ws-daemon] Refactor containerd error handling
2021-08-16 16:30:15 +02:00
Christian Weichel
1c47047817
Revert "Revert "[ws-daemon] Remove Containerd4214 workaround""
...
This reverts commit f0a27d10d829d8c795772ff5d4e3da538bd957b1.
2021-08-11 16:28:10 +02:00