23 Commits

Author SHA1 Message Date
Thomas Schubart
4fe7402203 [ws-daemon] Plugin for setting up network limits 2022-08-24 14:14:40 +02:00
Manuel Alejandro de Brito Fontes
4e941c628a [common-go] Remove unused WorkspaceSupervisorEndpoint helper 2022-08-08 20:02:52 -03:00
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 2022-08-05 11:42:49 -03:00
Thomas Schubart
ee20a83d80 [ws-manager] Add cpu constraint annotations 2022-08-05 11:42:49 -03:00
JenTing Hsiao
c5147d7633 Remove no longer used annotation gitpod.io/containerIsGone
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-18 20:35:13 +02:00
Pudong Zheng
fe6e39e3a3 [workspace] support user upload ssh keys
Co-authored-by: Huiwen <huiwen@gitpod.io>
Co-authored-by: Christian Weichel <chris@gitpod.io>
Co-authored-by: Pavel Tumik <18602811+sagor999@users.noreply.github.com>
2022-06-15 22:58:25 +05:30
Thomas Schubart
f5d555948a Extend ws-manager tracing with team and project 2022-06-15 21:43:25 +05:30
Pavel Tumik
e1b335c029 [ws-manager] change workspace state tracing 2022-06-14 17:06:24 +05:30
Manuel Alejandro de Brito Fontes
44ef47089b Remove unused labels 2022-03-04 13:42:11 +05:30
Manuel Alejandro de Brito Fontes
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Manuel Alejandro de Brito Fontes
526c95e344 Decouple ws-proxy from ws-manager 2021-11-05 10:33:03 +01:00
Christian Weichel
631322bcdc [agent-smith] Support CPU limit penalties 2021-08-09 08:40:08 +02:00
Manuel Alejandro de Brito Fontes
59e8ca174f Lint code 2021-05-18 07:27:57 -04:00
Christian Weichel
e863704ca0 [ws-daemon] Propagate workspace container status
if the CRI/containerd fail to do so.
2021-03-26 18:16:14 +01:00
Manuel Alejandro de Brito Fontes
73ca7425a4 [common-go] Lint and cleanup protobuf 2021-03-16 07:35:57 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
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