Christian Weichel
724ed7a92a
[ws-manager] Replace PLIS with k8s finalizer
2021-03-24 09:56:21 +01:00
Manuel Alejandro de Brito Fontes
53189d3fa6
[ws-manager] Lint code and cleanup protobuf
2021-03-16 07:35:57 -03:00
Gero Posmyk-Leinemann
8d1249a797
[cleanup] Removed ingressPortAllocator
2021-03-12 08:50:06 +01:00
Christian Weichel
e159c8035a
[ws-manager] Correctly delete workspace pod
2021-03-02 14:52:44 +01:00
Christian Weichel
eb82716b7f
[ws-manager] Correctly report workspace stop errors
2021-03-02 14:52:44 +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
08774bd177
[ws-manager] Switch to controller-runtime abstraction
2021-03-01 14:00:58 -03:00
Manuel Alejandro de Brito Fontes
bd022f2e6f
[ws-manager] Field metadata.name only allows lowercase values ( #3212 )
2021-02-18 09:08:29 -03:00
Christian Weichel
1046faf0f9
[registry-facade] Remove feature flag
...
and enable registry-facade by default.
2021-02-18 09:25:56 +01:00
Christian Weichel
e641afad2b
[workspacekit] Move all user namespace setup stuff to its own component
...
To keep supervisor free from CGO e.g. libcap or libseccomp
2021-01-29 17:46:53 +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
0fd958c8da
[ws-manager] Make compatible with Kubernetes v1.20.1
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
31372243e2
[ws-manager] Support ghost workspaces
...
which act as palceholders for actual workspaces.
2020-12-08 16:35:44 +01:00
Christian Weichel
ed5058bb6f
[ws-manager] Remove ws-daemon node selector
...
now that we have ws-scheduler doing this for us
2020-11-27 14:59:44 +01:00
Sven Efftinge
7dd708aaa6
[ws-man] avoid 'fatal error: concurrent map read and map write'
2020-11-25 13:09:51 +01:00
Christian Weichel
5a7903b089
[supervisor] Introduce user-namespace rings
2020-10-23 16:20:08 +02:00
Christian Weichel
8d1664f81f
[ws-daemon] Search and replace ws-sync
...
This should have happened in #2003
/werft https=true
2020-10-19 10:26:18 +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
gitpod-init
24f7b609bf
initial commit
2020-08-25 09:25:15 +00:00