210 Commits

Author SHA1 Message Date
Manuel Alejandro de Brito Fontes
60d5ce3521 [nsinsider] Refactoring to use upstream runc 2021-09-13 16:16:38 +05:30
Manuel Alejandro de Brito Fontes
db6bdba8b9 Improve leeway task to update go modules 2021-09-13 16:14:38 +05:30
Manuel Alejandro de Brito Fontes
9fd31effac Update go modules 2021-09-01 17:44:31 +02:00
Manuel Alejandro de Brito Fontes
b7a3b87337 Remove duplication of GRPC configuration 2021-09-01 17:44:31 +02:00
Manuel Alejandro de Brito Fontes
f7cf8e33e7 Update go dependencies 2021-08-27 12:33:26 -03:00
Christian Weichel
cd10b6eaa1 [ws-manager] Add unit test for actOnPodEvent 2021-08-27 06:38:25 -03:00
Simon Emms
76a1e7b957 [ws-daemon] Collect logs from runc command and log nsinsider properly 2021-08-11 17:48:10 +02:00
Manuel Alejandro de Brito Fontes
6e7340dc86 Update k8s dependencies to v1.22.0 2021-08-11 17:31:10 +02:00
Christian Weichel
631322bcdc [agent-smith] Support CPU limit penalties 2021-08-09 08:40:08 +02:00
Manuel Alejandro de Brito Fontes
4edfce5ebf Update grpc dependencies
Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>
2021-08-04 15:49:04 +02:00
Christian Weichel
c8eb943822 [prow] Add OWNERS files 2021-07-15 11:29:47 +02:00
Jan Keromnes
7e54db1ab2 Add dodo 2/2
Follow-up to https://github.com/gitpod-io/gitpod/pull/4589
2021-06-25 21:46:47 +02:00
Manuel Alejandro de Brito Fontes
15fbc9b5dc Use gitpod-io log package 2021-06-15 10:55:33 -04:00
Manuel Alejandro de Brito Fontes
f620ac20c4 [common-log] Enable change of log level at runtime 2021-06-15 10:55:33 -04:00
Manuel Alejandro de Brito Fontes
9681a2ba9b Update k8s dependencies to v0.21.1 2021-06-15 09:45:54 -04:00
Manuel Alejandro de Brito Fontes
a57e2e73ea Update go dependencies 2021-06-15 09:45:54 -04:00
Manuel Alejandro de Brito Fontes
9dfea94c9b Run shellcheck against scripts 2021-06-04 16:26:37 -04:00
Manuel Alejandro de Brito Fontes
660c7ecd87 Refactor span log helpers 2021-06-03 09:37:22 -04:00
Christian Weichel
53b73efd58 [analytics] Limit failure blast radius 2021-05-26 16:02:23 +02:00
Manuel Alejandro de Brito Fontes
59e8ca174f Lint code 2021-05-18 07:27:57 -04:00
Christian Weichel
c2a2352f12 [supervisor] Add config change analytics 2021-05-06 16:21:40 +02:00
Manuel Alejandro de Brito Fontes
066200cd4a Cleanup 2021-05-06 07:03:06 -04:00
Manuel Alejandro de Brito Fontes
affe4c7fb0 Update jaeger and opentracing dependency 2021-05-06 07:03:06 -04:00
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