49 Commits

Author SHA1 Message Date
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
Christian Weichel
f0a27d10d8 Revert "[ws-daemon] Remove Containerd4214 workaround"
This reverts commit 0c778d9923eaa267712daa168d5ff2a94193ce2c.
2021-07-24 19:59:28 +02:00
Manuel Alejandro de Brito Fontes
0c778d9923 [ws-daemon] Remove Containerd4214 workaround 2021-07-20 21:57:25 +02:00
Lorenzo Fontana
bc6c9f72c0 [ws-daemon] cgroup customizer on workspace add 2021-07-12 10:19:49 +02:00
Manuel Alejandro de Brito Fontes
76a04a0824 [ws-daemon] Lint code and cleanup protobuf 2021-03-16 07:35:57 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Christian Weichel
712d1be698 [ws-daemon] Reintroduce the working_area_free_bytes metric 2020-11-30 17:58:38 +01:00
Christian Weichel
ced1e6ac69 [ws-daemon] Add readiness probe 2020-11-30 11:06:39 +01:00
Christian Weichel
6e2e96e91d [ws-daemon] Add workaround for containerd ErrNotFound issue 2020-11-12 08:52:35 +01:00
Christian Weichel
438c234bb2 [ws-daemon] Rename InWorkspaceHelper to more apt InWorkspaceService
and introduce rate limiting on that service to mimic the behaviour of
the former canaries.
2020-10-23 16:20:08 +02:00
Christian Weichel
4a9c8f910e [ws-daemon] Provide IWH through unix socket rather than canaries 2020-10-23 16:20:08 +02:00
Christian Weichel
5a7903b089 [supervisor] Introduce user-namespace rings 2020-10-23 16:20:08 +02:00
Christian Weichel
3cbfd6f191 [common-go] Move CRI to ws-daemon/container 2020-10-19 07:46:04 +02:00
Christian Weichel
7172d822c7 [ws-daemon] Fold ws-manager-node into ws-daemon 2020-10-19 07:46:04 +02:00