50 Commits

Author SHA1 Message Date
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
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
08774bd177 [ws-manager] Switch to controller-runtime abstraction 2021-03-01 14:00:58 -03:00
Christian Weichel
0fd958c8da [ws-manager] Make compatible with Kubernetes v1.20.1 2021-01-11 15:25:05 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Christian Weichel
71d616c363 [ws-manager] Don't complain when dangling service is already gone 2020-12-03 14:43:20 +01:00
Christian Weichel
8d7deffb49 [ws-manager] Less noisy marking of timed out WS in intermediate state 2020-11-27 09:57:18 +01:00
Anton Kosyakov
2b74b1e742 [dashboard] redirect from prebuild only when it is stopped 2020-11-25 16:24:46 +01:00
Christian Weichel
b914e2df86 [ws-daemon] Allow user-namespaced ops only in user-namespaced workspaces 2020-11-05 08:08:32 +01:00
Christian Weichel
16ae8cc5cf [ws-sync] Provide shiftfs mark mount upon request 2020-10-23 16:20:08 +02:00
Christian Weichel
8d1664f81f [ws-daemon] Search and replace ws-sync
This should have happened in #2003

/werft https=true
2020-10-19 10:26:18 +02:00
Christian Weichel
7172d822c7 [ws-daemon] Fold ws-manager-node into ws-daemon 2020-10-19 07:46:04 +02:00
Christian Weichel
6d93dd8348 [ws-daemon] Rename ws-sync to ws-daemon 2020-10-19 07:46:04 +02:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00