79 Commits

Author SHA1 Message Date
Alex Tugarev
0bf71f1ed3 initial contribution of components/ee/paiment-endpoint 2021-05-26 08:35:36 +02:00
Christian Weichel
d5b943e5e9 [db-sync] Port from gitpod-com 2021-05-25 18:08:38 +02:00
Manuel Alejandro de Brito Fontes
59e8ca174f Lint code 2021-05-18 07:27:57 -04:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Christian Weichel
c3c8112538 [kedge] Initial commit
move from gitpod-com
2021-05-10 10:08:22 +02: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
a0a5017b58 Remove deprecated grpc time helpers 2021-05-05 06:10:32 -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
ad30d0c89d Update ws-scheduler 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
Manuel Alejandro de Brito Fontes
3e3a6cb892 Remove cerc component 2021-05-04 13:31:19 -04: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
Gero Posmyk-Leinemann
76475241bb [ws-: manager, registry-facade, scheduler, proxy] TLS support 2021-04-01 14:47:31 +02:00
Manuel Alejandro de Brito Fontes
67b880fc45 Update go dependencies 2021-03-16 07:35:57 -03:00
Manuel Alejandro de Brito Fontes
b512922986 Update go dependencies 2021-03-12 12:54:40 -03:00
Manuel Alejandro de Brito Fontes
61e9182f8d
Cleanup docker files (#3412) 2021-03-11 10:04:27 -03:00
Anton Kosyakov
0623a65543 [supervisor-api] fix generate.sh script
and add missing copyrights
2021-03-08 09:48:50 +01:00
Christian Weichel
8dcb9153e9 [ws-scheduler] Prevent ghost explosions 2021-03-05 12:50:15 +01: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
f1abf9d04c [ws-scheduler] Review comments 2021-03-01 10:17:16 +01:00
Gero Posmyk-Leinemann
2e6dc326e2 [ws-scheduler] Rate limit schedulePod 2021-03-01 10:17:16 +01:00
Gero Posmyk-Leinemann
d68f108937 [ws-scheduler] Scheduling tests! 2021-03-01 10:17:16 +01:00
Gero Posmyk-Leinemann
0110e35dd3 [ws-scheduler] metrics: reduce unnecessary space complexity 2021-03-01 10:17:16 +01:00
Gero Posmyk-Leinemann
9d730fd961 [ws-scheduler] filter services: podReady && containersReady && podRunning 2021-03-01 10:17:16 +01:00
Gero Posmyk-Leinemann
020825f026 [ws-scheduler] Have our own PriorityQueue and metrics 2021-03-01 10:17:16 +01: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
ab56cc3162 [ws-scheduler] Fix OOM error reporting 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
Gero Posmyk-Leinemann
87c504d30b
[ws-scheduler] Normalize workspaceImage ref (#3263) 2021-02-23 16:02:41 +01:00
Christian Weichel
47c7d9a8c9 [leeway] Run leeway fmt 2021-02-12 09:11:53 +01:00
Christian Weichel
d940209ffd [go.mod] Run leeway link to clean up go replace 2021-02-01 15:22:53 +01:00
Cornelius A. Ludmann
ab4c6f5a7b Fix go.mod links with leeway link 2021-02-01 13:07:43 +00: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
6cdba8b7f0 [ws-scheduler] Make compatible with Kubernetes v1.20.1 2021-01-11 15:25:05 +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
ArthurSens
be14b4897a Add golangci-linter and fixes most linting issues
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-01-05 08:38:03 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Christian Weichel
ef80097e48 [ws-scheduler] Add buffers to scaler controll loop to avoid deadlocks 2020-12-11 07:37:33 +01:00
Christian Weichel
db795cc509 [ws-scheduler] Make ws-scaler more stable
Prior the renewal process could max out the ghost count
2020-12-10 14:35:25 +01:00
Christian Weichel
1f2df0f64d [ws-scaler] Be less loud when ws-manager is unavailable 2020-12-10 14:35:25 +01:00
Sven Efftinge
d0fc7eb84a go mod updates 2020-12-10 11:53:43 +01:00
Christian Weichel
f44a3a728b [misc] Add missing license header 2020-12-09 15:05:26 +01:00
Christian Weichel
d813836905 [ws-scheduler] Fix JSON unmarshalling of TimeOfDay
/werft no-preview
2020-12-09 15:04:11 +01:00
Christian Weichel
01276418c5 [ws-scheduler] Add Prometheus metrics to scaler 2020-12-09 14:23:28 +01:00
Christian Weichel
adc29f35e6 [ws-scheduler] Introduce ghost-workspace scaler 2020-12-08 16:35:44 +01:00