430 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
9cf60601a6 Add I/O limit support for LVM 2022-11-07 11:18:37 +01:00
Manuel Alejandro de Brito Fontes
ee0762cf5d Create LVM device files 2022-11-07 11:18:37 +01:00
Manuel Alejandro de Brito Fontes
6e50a50764 [ws-daemon] Add logs setting disk quotas 2022-11-07 11:18:37 +01:00
Manuel Alejandro de Brito Fontes
6e71855da8 [ws-daemon] Force build of container image 2022-11-01 21:44:06 +01:00
utam0k
2658f1ffe2 IWS: Don't record the error log from getResourceInfo when the workspace has gone. 2022-10-27 16:04:41 +02:00
Pavel Tumik
3a6fe3a43d fix nit 2022-10-24 17:58:40 +02:00
utam0k
708fc53077 ws-daemon: Fix the problem with nice value not being applied
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-10-24 17:58:40 +02:00
utam0k
9bdc0a55ee ws-daemon: Add the disposal in the priority plugin when the workspace has gone 2022-10-24 17:58:40 +02:00
Thomas Schubart
5f56949463 [ws-daemon] Scrape psi conditionally 2022-10-21 10:42:36 +02:00
Thomas Schubart
b75f878e29 [psi] Add comment and clean up test files 2022-10-21 10:42:36 +02:00
Thomas Schubart
183ec3cae3 [ws-daemon] Plugin for PSI metrics 2022-10-21 10:42:36 +02:00
Thomas Schubart
cf2bd7b140 [ws-daemon] Introduce plugin options 2022-10-21 10:42:36 +02:00
Thomas Schubart
9e39e66303 [ws-daemon] Support updating netlimits 2022-10-18 15:24:33 +02:00
Thomas Schubart
4996abfb8a [nsinsider] Support network limit enforcement 2022-10-18 15:24:33 +02:00
utam0k
b1e8f5d1e1 ws-daemon: Use errors instead of a match of strings
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-10-06 08:23:23 +02:00
Manuel Alejandro de Brito Fontes
f06f18191b [ws-daemon] Improve download options 2022-10-06 00:22:21 +02:00
Thomas Schubart
7ae61cd934 [ws-daemon] Stop logging cpu limit error 2022-10-05 14:43:21 +02:00
Pavel Tumik
389f7767fb [ws-daemon] fix WaitForInit not found error in tracing 2022-10-05 10:35:21 +02:00
Manuel Alejandro de Brito Fontes
0412c5f461 [test] Reduce loop wait time 2022-10-05 05:15:20 +02:00
Manuel Alejandro de Brito Fontes
0b1006ab56 [ws-daemon] Improve download speed of snapshots 2022-10-04 15:57:21 +02:00
Manuel Alejandro de Brito Fontes
085a4e0a45 Fix typecheck errors 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Christian Weichel
6bc34cf175 Switch to Go workspaces 2022-09-28 08:45:28 +02:00
Pavel Tumik @ GitPod
153726046a add addional tracing for remoteContentStorage Download fn 2022-09-27 02:23:27 +02:00
Manuel Alejandro de Brito Fontes
af45552675 [ws-daemon] Check runc download is a binary 2022-09-26 02:12:26 +02:00
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
Thomas Schubart
92119cb33e [ws-daemon] Ensure last tick usage is updated 2022-09-19 20:23:20 +02:00
Milan Pavlik
631838ef82 Expose version in ws-daemon & content-service 2022-09-16 21:58:17 +02:00
Thomas Schubart
29fc78017b [ws-daemon] Ensure add handler is called before update 2022-09-12 21:19:14 +02:00
Thomas Schubart
ccb148f2a6 [observability] Add dashboard for network limiting 2022-08-31 10:27:15 +02:00
Pavel Tumik @ GitPod
94a9ee7b07 [ws-daemon] when WaitForInit ensure that state is indeed ready 2022-08-25 02:09:41 +02:00
Manuel Alejandro de Brito Fontes
f91254afe0 Check if the shiftfs module already exists 2022-08-24 19:43:41 +02:00
Thomas Schubart
2d7e29c9e2 [ws-daemon] Include time unit and use struct for map 2022-08-24 14:14:40 +02:00
Thomas Schubart
3739fbe912 [nsinsider] Accept connections 2022-08-24 14:14:40 +02:00
Thomas Schubart
4fe7402203 [ws-daemon] Plugin for setting up network limits 2022-08-24 14:14:40 +02:00
Thomas Schubart
d31eb808f1 [nsinsider] Make setup helpers for nsinsider reusable 2022-08-24 14:14:40 +02:00
Thomas Schubart
801c4dc590 [nsinsider] Setup connection limit 2022-08-24 14:14:40 +02:00
utam0k
056816165d ws-daemon: Returns no limit if cpu.max does not exist.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-08-24 13:22:40 +02:00
Pavel Tumik @ GitPod
c8c906e278 replace os.IsNotExist with errors.Is(err, fs.ErrNotExist) 2022-08-24 03:35:40 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
f1c968f665 Remove deprecated test (because gsutil) 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
utam0k
c2d249a5b5 ws-daemon: Proper use of content.json 2022-08-19 19:38:36 +02:00
JenTing Hsiao
512e26fa5a ws-daemon: ignore error when workspace persistent state location not exist
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-15 19:36:32 +02:00
Manuel Alejandro de Brito Fontes
4ad0b81d21 Add clone3 to seccomp profile syscalls 2022-08-10 17:27:54 +02:00
JenTing Hsiao
0c8fde8ec8 ws-daemon: add span when NewWorkspace
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-10 05:09:53 +02:00