596 Commits

Author SHA1 Message Date
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
Thomas Schubart
212b4712f4 [ws-daemon] Include workspace id in error 2022-08-09 15:38:53 +02:00
JenTing Hsiao
9a7864c5be ws-daemon: enhance log
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-09 00:53:53 -03:00
Andrew Farries
c4363513a5 Run gofmt
gofmt -w .

From the repository root.
2022-08-08 10:54:52 -03:00
JenTing Hsiao
9017476767 Return error to the client and only ignore tracing error
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-06 19:18:50 -03:00
Thomas Schubart
225344b78f [ws-daemon] Store only annotations instead of pod 2022-08-05 11:42:49 -03:00
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 2022-08-05 11:42:49 -03:00
Thomas Schubart
623fee84e8 [ws-daemon] Limit cpu based on annotations 2022-08-05 11:42:49 -03:00
Thomas Schubart
2db01726d7 [ws-daemon] Log update of resource limits 2022-08-05 08:20:49 -03:00
Christian Weichel
b8f58bc3b1 [ws-daemon] Enable workspace content housekeeping 2022-08-05 04:55:49 -03:00
JenTing Hsiao
d5c9bd792f Log warning instead of tracing error span
Special handling the error message for tracing when we can't find
workspace in memory.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-04 06:46:48 -03:00
Manuel Alejandro de Brito Fontes
ccb4e180a7 Remove backup trail 2022-08-04 05:00:48 -03:00
Thomas Schubart
2ec4178e28 Detach dangling base mounts 2022-08-02 16:27:49 -03:00
Thomas Schubart
bffbd32162 Ensure session is only deleted once 2022-08-02 07:07:46 -03:00
JenTing Hsiao
80eedafd74 The instance ID is required field
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-02 05:34:46 -03:00
Manuel Alejandro de Brito Fontes
08dea12180 [ws-daemon] Configure plugins log level to Debug 2022-07-28 20:05:23 -03:00
Manuel Alejandro de Brito Fontes
e177b821ad [ws-daemon] Increase WaitForContainer timeout 2022-07-28 12:03:23 -03:00
Manuel Alejandro de Brito Fontes
18be9989b2 [ws-daemon] Fix wait until workspace is stop 2022-07-26 21:27:21 -03:00
Manuel Alejandro de Brito Fontes
316b493057 Refactor ws-daemon and registry-facade postStart hook 2022-07-21 20:22:16 -03:00
Manuel Alejandro de Brito Fontes
797f440c7c Simplify configuration of git setting safe.directory 2022-07-19 17:23:14 +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
38b886bb6a [ws-daemon] Increase number of concurrent backup uploads 2022-07-15 01:45:01 +02:00
Pavel Tumik
af62571a40 Update components/ws-daemon/pkg/content/service.go
Co-authored-by: Christian Weichel <chris@gitpod.io>
2022-07-14 09:24:01 +02:00
Pavel Tumik
52717d7104 [ws-daemon] do not fail workspace if git status failed during dispose 2022-07-14 09:24:01 +02:00
Pavel Tumik
6dd7fc82b4 [ws-daemon] improve DisposeWorkspace logging 2022-07-13 02:01:59 +02:00
Manuel Alejandro de Brito Fontes
d4f55a17b4 [ws-daemon] Remove WorkspaceInfo noisy log 2022-07-07 22:56:54 +05:30
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
f090bc719a [ws-daemon] Fix extraction of process arguments 2022-07-07 05:22:53 +05:30
Christian Weichel
8248935e44 [ws-manager] Add Git token to workspace secret 2022-07-06 19:22:53 +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
ea6ade104f Update containerd and docker dependencies 2022-07-06 13:31:53 +05:30
Manuel Alejandro de Brito Fontes
ad14c17cbe Address comments 2022-07-06 05:12:53 +05:30
Christian Weichel
9ace0e8f1e Make content init work on Ubuntu 2022-07-06 05:12:53 +05:30
Manuel Alejandro de Brito Fontes
69f1201952 Upload GCP backups using gsutil 2022-07-06 05:12:53 +05:30
Manuel Alejandro de Brito Fontes
17c7adb6b4 Increase process priority 2022-07-06 00:34:52 +05:30