113 Commits

Author SHA1 Message Date
Pavel Tumik
c216147283 [ws-manager] improve error handling around snapshot volume creation 2022-05-25 13:17:39 +05:30
Pavel Tumik
c6910dac35 tie snapshot volumes to workspace instance id 2022-05-25 13:17:39 +05:30
Pavel Tumik
56d1756376 remove daemon-api change as it is not needed 2022-05-25 13:17:39 +05:30
Pavel Tumik
88768f6e50 snapshot volume support 2022-05-25 13:17:39 +05:30
Pavel Tumik
30e8f7d292 [ws-manager] make sure to fail prebuild if we cannot store snapshot from it 2022-05-17 13:44:31 +05:30
Pavel Tumik @ GitPod
cc893bee20 [ws-manager] fix calling dispose multiple times 2022-05-06 14:31:21 +05:30
Pavel Tumik
0ffc77d16a PR feedback fixes 2022-05-04 03:08:19 +05:30
Pavel Tumik
301190db53 Add persistent volume support for workspaces
fix
2022-05-04 03:08:19 +05:30
Christian Weichel
fc1b0ac4a6 [ws-daemon] Support storage quota per class 2022-04-29 14:24:15 +05:30
Pavel Tumik
fbbec7b307 [ws-manager] fix finalizeWorkspaceContent can be called twice 2022-04-28 09:47:14 +05:30
Pavel Tumik
f9c93c4468 [ws-manager] add metrics to track initialize and finalize of workspaces 2022-04-19 04:45:31 +05:30
Manuel Alejandro de Brito Fontes
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30
Prince Rachit Sinha
4d48ccb997 Add maximum lifetime constraint for a workspace 2022-02-22 16:25:02 +05:30
Pudong Zheng
d63b2f37c0 Redact GIT_EMAIL in event trace logs 2021-11-25 11:43:21 +01:00
Manuel Alejandro de Brito Fontes
037eb40107 Refactor ws-manager to stop using services 2021-11-05 10:33:03 +01:00
Manuel Alejandro de Brito Fontes
9236478d80 Set a timeout for probes 2021-10-20 14:25:58 -03:00
Manuel Alejandro de Brito Fontes
414be7f514 [ws-manager] Refactor probes 2021-10-20 14:25:58 -03:00
Christian Weichel
20adf1dbe6 [ws-manager] Introduce stoppedByRequest condition 2021-10-14 18:12:01 -03:00
Christian Weichel
34604e5788 [ws-manager] Don't upload image build logs 2021-10-14 18:09:01 -03:00
Christian Weichel
da1919f1cc [ws-daemon] Properly handle mark unmount 2021-09-29 09:07:46 -03:00
Manuel Alejandro de Brito Fontes
0c69968662 [ws-manager] Wait additional time to deletionGracePeriod before finalize workspace 2021-09-10 12:25:16 +05:30
Christian Weichel
36783535fc [ws-manager] Log event trace log as INFO 2021-09-06 16:46:12 +02:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Christian Weichel
cd10b6eaa1 [ws-manager] Add unit test for actOnPodEvent 2021-08-27 06:38:25 -03:00
Manuel Alejandro de Brito Fontes
a1da634398 [ws-daemon] Refactor unmount 2021-08-25 16:09:24 +02:00
Manuel Alejandro de Brito Fontes
59ba5ee071 Do not upload ghost workspace logs 2021-08-12 17:53:11 +02:00
Christian Weichel
5b15f69021 [ws-manager] Don't use remote storage for image builds and ghosts 2021-07-28 17:52:32 +02:00
Christian Weichel
1c7b10e228 [ws-manager] Stop workspaces timing out during backup 2021-07-26 16:14:30 +02:00
Christian Weichel
07f97d3f27 [ws-manager] Add support for workspace annotations 2021-07-22 16:32:26 +02:00
Gero Posmyk-Leinemann
000da4503b [ws-daemon] Upload logs 2021-07-15 09:00:38 +02:00
Gero Posmyk-Leinemann
8f0c24af66 [ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops 2021-07-08 09:27:34 +02:00
Manuel Alejandro de Brito Fontes
adc1ddf507 Fix propagation of span error 2021-07-07 05:40:06 -04:00
Christian Weichel
eb0f0c37d8 [ws-manager] Backport #4405 to use nodeName 2021-06-25 15:50:48 +02:00
Manuel Alejandro de Brito Fontes
8b224a0b10 [ws-manager] Set GracePeriodSeconds for deletion of objects 2021-06-25 05:29:32 -04:00
Manuel Alejandro de Brito Fontes
26b012a65c Cleanup tracing spans 2021-06-09 12:08:03 -04:00
Christian Weichel
715ef34b22
[ws-manager] Backup on pod eviction (#4405)
* [ws-manager] Backup on pod eviction

* Fixed changelog

* Update components/ws-manager/pkg/manager/monitor.go

Co-authored-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
Co-authored-by: Jan Koehnlein <jan@gitpod.io>
Co-authored-by: Cornelius A. Ludmann <cornelius.ludmann@typefox.io>
2021-06-08 11:19:01 +02:00
Manuel Alejandro de Brito Fontes
660c7ecd87 Refactor span log helpers 2021-06-03 09:37:22 -04:00
Manuel Alejandro de Brito Fontes
001fde1661 [ws-daemon] Refactor full workspace backup 2021-05-26 13:10:54 +02:00
ArthurSens
0a9c1ff8a4 Do not create initializeWorkspace span if operation is noop
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-16 05:20:13 -03:00
ArthurSens
ad0d0929d5 Remove broken phase spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-04-15 17:13:50 -03:00
Christian Weichel
fb35c21ae9 [ws-manager] Don't attach a log listener to ghost workspaces 2021-04-07 08:03:28 +02:00
Christian Weichel
e33d5265a0 [ws-manager] Remove finalizer once WS is stopped 2021-03-29 11:07:13 +02:00
Christian Weichel
9c719d2f71 [ws-manager] Dispose workspace using OOB signal
when ws-daemon signaled that the container is gone.
2021-03-26 18:16:14 +01:00
Christian Weichel
2b5b6e7c86 [ws-manager] Remove all PLIS leftovers 2021-03-24 09:56:21 +01:00
Christian Weichel
724ed7a92a [ws-manager] Replace PLIS with k8s finalizer 2021-03-24 09:56:21 +01:00
Manuel Alejandro de Brito Fontes
326b3227be Enable user_namespace feature 2021-03-22 08:22:01 -03:00
Manuel Alejandro de Brito Fontes
53189d3fa6 [ws-manager] Lint code and cleanup protobuf 2021-03-16 07:35:57 -03:00
Gero Posmyk-Leinemann
8d1249a797 [cleanup] Removed ingressPortAllocator 2021-03-12 08:50:06 +01:00
Manuel Alejandro de Brito Fontes
227cefb74d [ws-manager] Remove unused code 2021-03-08 06:34:59 -03:00
Christian Weichel
b120900fc6 [ws-manager] Reenable housekeeping 2021-03-03 16:04:20 +01:00