124 Commits

Author SHA1 Message Date
Thomas Schubart
f1454d3994 [ws-daemon] Only handle k8s operations in controller 2023-01-30 14:59:37 +01:00
Wouter Verlaek
3651262ba2 [ws-manager-mk2] Configure health probes and leader election 2023-01-27 04:12:34 +01:00
Wouter Verlaek
8aa5a1d12c [ws-manager-mk2] Add print columns and shortname 2023-01-23 15:41:31 +01:00
Christian Weichel
572fcbb008 [ws-daemon] Start workspace controller based content init 2023-01-23 14:14:30 +01:00
Christian Weichel
7ca2a11572 [ws-manager-mk2] Remove ws-daemon connection 2023-01-23 14:14:30 +01:00
Christian Weichel
a3f8d86f3b [ws-manager-mk2] Fix build after rebase 2023-01-23 14:14:30 +01:00
Christian Weichel
99bff04aa5 [ws-manager-mk2] Rework CRD to better match k8s best practice 2023-01-23 14:14:30 +01:00
Christian Weichel
f91abd8a1e [ws-manager-mk2] Add workspace class support 2023-01-23 14:14:30 +01:00
Christian Weichel
56961e02a1 [ws-manager-mk2] Improve status extraction 2023-01-23 14:14:30 +01:00
Christian Weichel
9992d4fa32 [ws-proxy] Support workspace CRD 2023-01-23 14:14:30 +01:00
Christian Weichel
abeea17ab5 Move ws-manager-mk2 CRD to API package 2023-01-23 14:14:30 +01:00
JenTing Hsiao
4af9af4a1e Apply suggestions from code review
Co-authored-by: Pavel Tumik <18602811+sagor999@users.noreply.github.com>
2023-01-03 23:48:43 +01:00
JenTing Hsiao
af04243b3b If dryRun, return gRPC FailedPrecondition
If dryRun enables on StartWorkspace/StopWorkspace/TakeSnapshot,
return gRPC FailedPrecondition status code and error message
`under maintenance mode`.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-03 23:48:43 +01:00
Wouter Verlaek
72d9152a71 [image-builder] Enable TLS in workspace clusters
Fix cyclic import cycle

Update altnames

Update golden testdata, todo

Update grpc opts

Testing

Remove blocking dial

Only add TLS in ws cluster

Conditional TLS

Add comments
2022-12-20 02:45:29 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Anton Kosyakov
6533581a0e [ssh-proxy] only mark first active when user establish ssh connection
VS Code Remote SSH will reestablish a ssh connection even if window is not uesd.
It will retrigger heartbeat over and over in SSH Gateway.
SSH Gateway should only triggert heartbeat if pty sessions is present.

Co-authored-by: Pudong <tianshi8650@gmail.com>
2022-11-09 21:46:39 +02:00
JenTing Hsiao
a4dacef491 ws-manager: add prebuild PVC configuration
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-09 14:58:39 +01:00
Pavel Tumik
17d51f5228 pass workspace type when deleting volume snapshots 2022-11-04 16:14:09 +01:00
Thomas Schubart
7b468c43ef [ws-manager-api] Remove protected secrets from grpc 2022-11-02 21:25:07 +01:00
Thomas Schubart
8382abc381 [ws-manager-api] Generate grpc for psi 2022-10-21 10:42:36 +02:00
Pudong Zheng
a83040893e [ws-manager] refactory image layers 2022-10-13 20:08:30 +02:00
Manuel Alejandro de Brito Fontes
d5eb5815b5 Update to 1.19 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
000cadead8 Update grpc code 2022-10-04 15:17:22 +02:00
Manuel Alejandro de Brito Fontes
3f6cbd07f1 Update go dependencies 2022-10-04 15:17:22 +02:00
Milan Pavlik
8b94c543e9 [ws-manager] Remove Probe workspace type 2022-09-29 10:25:30 +02:00
Christian Weichel
d6023c989a Revert "Switch to Go workspaces"
This reverts commit 6bc34cf17512cb0a10a3a6cce44141b1f06b624e.
2022-09-29 05:28:29 +02:00
Christian Weichel
174a09222f Revert "Run go work sync"
This reverts commit 6b23167e09f74062b31150d4044a8fe7cacbc34b.
2022-09-29 05:28:29 +02:00
Christian Weichel
6b23167e09 Run go work sync 2022-09-28 08:45:28 +02:00
Christian Weichel
6bc34cf175 Switch to Go workspaces 2022-09-28 08:45:28 +02:00
Milan Pavlik
6f461f5714 [baseserver] Track metrics for HTTP requests automatically 2022-09-20 09:05:21 +02:00
Anton Kosyakov
008ea3fadc [jb] prepare to split backend and plugin images 2022-08-30 09:36:14 +02:00
Thomas Schubart
e1faf34708 [ws-manager-api] Add connection limiting feature 2022-08-24 14:14:40 +02:00
Pavel Tumik
07d80c8fa8 add support for aborting workspaces 2022-08-23 20:20:40 +02:00
Manuel Alejandro de Brito Fontes
438ffab694 Update k8s dependencies to v0.24.4 2022-08-23 08:18:39 +02:00
Manuel Alejandro de Brito Fontes
7b4a885ee3 Update k8s dependencies to v0.24.3 2022-08-23 08:18:39 +02:00
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 2022-08-05 11:42:49 -03:00
Thomas Schubart
b257cd8f2c [ws-manager] Update tests 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
Thomas Schubart
0571d40d16 [installer] Configure resource limits 2022-08-05 11:42:49 -03:00
Thomas Schubart
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Christian Weichel
3518346650 [ws-manager] Ship env vars as secret 2022-07-06 19:22:53 +05:30
JenTing Hsiao
856371178d Revert "Update k8s dependencies to v0.24.2"
This reverts commit 2911bc3283c2b79aacde0d16bce056de62eb696b.
2022-07-05 11:11:01 +02:00
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Thomas Schubart
d537b24994 [installer] Add display name to workspace class 2022-06-30 21:26:38 +05:30
Thomas Schubart
347ed6bfc2 [manager-api] Introduce endpoint for cluster info 2022-06-30 21:26:38 +05:30
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
45b0b45ec0 Make some workspace metadata properties optional 2022-06-15 21:43:25 +05:30
Thomas Schubart
e11e13ec79 Add team and project to workspace request 2022-06-15 21:43:25 +05:30
Pavel Tumik
7a7792f531 volume snapshot delete and restore support, garbage collection 2022-06-15 02:37:25 +05:30
Pavel Tumik
be4da3eb37 [ws-manager] add config setting that allows to debug workspaces 2022-06-03 21:24:52 +05:30