6 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
133e2c367c [ws-scheduler] Re-use PriorityQueue from k8s incl. metrics 2021-03-01 10:17:16 +01:00
Gero Posmyk-Leinemann
54b314bffc
[ws-scheduler] Make ghost workspaces more effective by integrating them with scheduler (#2552)
* [ws-manager] Do not delete ghost workspace on start

* [ws-scheduler] Enable asynchronous binding of pods

* [ws-scheduler] Introduce ghosts

 - remove a ghost before binding a regular workspace
 - make ghosts "invisible" to strategy

* [scheduler] Wait longer on ghost deletion to prevent OOM errors

* [scheduler] Make isRegularWorkspace -> makeGhostsInvisible explicit

* [scheduler] cancel ghost.Delete if it takes too long (5s)

* [ws-scheduler] Add tests for ghost-sepcific state computation

* [scheduler] Make sure ghost are only selected for deletion once

* [scheduler] delete ghosts: ctxDeleteTimeout > gracePeriod

* [scheduler] Don't bind terminated pods

* [scheduler] Make all non-ghost workspaces replace ghosts

* [scheduler] review comments
2021-01-27 17:07:24 +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
76c8adc12c [ws-scheduler] Support node-specific services during scheduling 2020-11-27 14:59:44 +01:00
Christian Weichel
7172d822c7 [ws-daemon] Fold ws-manager-node into ws-daemon 2020-10-19 07:46:04 +02:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00