87 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
4798300440 Update prometheus and controller-runtime 2021-05-05 06:10:32 -04:00
Manuel Alejandro de Brito Fontes
bbd7b11d47 Update grpc dependencies 2021-05-05 06:10:32 -04:00
Manuel Alejandro de Brito Fontes
e10c1de800 Update k8s dependencies v1.21.0 2021-05-05 06:10:32 -04:00
Jan Keromnes
e50241df01 What color should it be? Hmm... kumquat! 2021-04-30 18:30:07 +02:00
Manuel Alejandro de Brito Fontes
d38bca47ec [content-service] Update cloud.google.com/go/storage dependency 2021-04-13 08:16:24 -04:00
Christian Weichel
efd76beca5 [go mod] Update all go.sum files 2021-04-07 09:35:22 +02: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
Anton Kosyakov
41a9495851 [supervisor] allow to enable pprof 2021-03-23 14:35:21 +01:00
Manuel Alejandro de Brito Fontes
67b880fc45 Update go dependencies 2021-03-16 07:35:57 -03: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
3b4ebc9bad Migrate deprecated methods from ioutil package 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
dc4f2b9b15 Update go modules to 1.16 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
Manuel Alejandro de Brito Fontes
f263277537
Update k8s go dependencies (#3271) 2021-02-25 14:20:03 -03:00
Christian Weichel
227e6bd192 [ws-manager] Replace our own gRPC prom metrics with grpc_ecosystem
Fixes gitpod-io/gitpod#3090
2021-02-08 09:49:09 +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
Sven Efftinge
b897e6777f Generate better workspace ids 2021-01-26 18:03:25 +01:00
Christian Weichel
72a120e0c8 Update Kubernetes client-go to v1.20.1
Fixes gitpod-io/gitpod#2689
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
44e6aa820b [ws-manager] Add metrics for unary gRPC methods 2020-12-08 09:34:40 +01:00
Christian Weichel
56a336dbf0 [common-go] Add metrics support for unary gRPC methods 2020-12-08 09:34:40 +01:00
Christian Weichel
86562cac2c [ws-manager] Support configurable gRPC rate limits 2020-12-08 09:34:40 +01:00
Christian Weichel
247ddcf810 [common-go] Add gRPC rate limiting support 2020-12-08 09:34:40 +01:00
Sven Efftinge
71ee76822f [commons] map log severity to stackdriver 2020-12-03 18:17:13 +01:00
Christian Weichel
4d055558df [pprof] Fix sampling based profiles 2020-11-30 13:13:42 +01:00
Christian Weichel
33e3a9f1db [pprof] Support mutex contention sampling for /block 2020-11-30 12:02:09 +01:00
Christian Weichel
76c8adc12c [ws-scheduler] Support node-specific services during scheduling 2020-11-27 14:59:44 +01:00
Christian Weichel
75c45a7b39 [common-go] Remove logging enabled output
and make `Init()` work on second call
2020-11-19 08:38:35 +01:00
Christian Weichel
75558809c7 [go] go mod tidy in all components 2020-10-19 07:46:04 +02:00
Christian Weichel
3cbfd6f191 [common-go] Move CRI to ws-daemon/container 2020-10-19 07:46:04 +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
Christian Weichel
a494eb7cff [ws-manager-node] Add uidmapper canary support 2020-10-13 11:10:53 +02:00
Christian Weichel
e64b94c844 [ws-manager-node] Use Gitpod CRI instead of containerd directly 2020-10-13 11:10:53 +02:00
Christian Weichel
ac71492b6e [cri] Move cri from ws-sync to common-go for reuse in ws-manager-node 2020-10-13 11:10:53 +02:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00