117 Commits

Author SHA1 Message Date
Pavel Tumik
430bdd3c8b [ws-manager] remove hack that was disabling PVC feature 2022-08-22 02:07:38 +02:00
Manuel Alejandro de Brito Fontes
df221fe7d0 Replace deprecated seccomp.security.alpha.kubernetes.io/pod annotation 2022-08-13 03:01:29 +02:00
Kyle Brennan
613628700e Revert "Replace deprecated seccomp.security.alpha.kubernetes.io/pod annotation"
This reverts commit a7fb1be40f4acc82fff418648cf60a4f518da453.
2022-08-11 06:23:54 +02:00
Manuel Alejandro de Brito Fontes
9500ed33eb Remove duplication of parsing SUPERVISOR_ADDR 2022-08-11 01:40:54 +02:00
Manuel Alejandro de Brito Fontes
d0a098b3ce Replace deprecated seccomp.security.alpha.kubernetes.io/pod annotation 2022-08-11 01:39:55 +02:00
Thomas Schubart
e437e18680 [ws-daemon/manager] Use feature flag 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
4b402429b1 Remove fixed resources 2022-08-04 06:57:48 -03:00
Manuel Alejandro de Brito Fontes
1fd1173cf1 [ws-manager] Disable PVC feature 2022-08-03 17:55:47 -03:00
JenTing Hsiao
bcc2956b61 Correct const variable naming. It should be a label, not an annotation
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-29 14:51:23 -03:00
JenTing Hsiao
4c18f660ae Check the pod label to determine the PVC feature flag is set
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-27 11:57:22 -03:00
Christian Weichel
7fda2b3445 [ws-manager] Only extract secrets when FF is set 2022-07-08 14:27:55 +05:30
Christian Weichel
04b9a64024 [ws-manager] Limit max secret length
to introduce a benign failure mode compared to the
Kubernetes provided message.
2022-07-06 19:22:53 +05:30
Christian Weichel
8248935e44 [ws-manager] Add Git token to workspace secret 2022-07-06 19:22:53 +05:30
Christian Weichel
3518346650 [ws-manager] Ship env vars as secret 2022-07-06 19:22:53 +05:30
Pavel Tumik
26c17da071 call prestophook.sh from ring1 directly 2022-06-21 12:36:30 +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
f25ba24c96 Always apply labels and update tests 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
JenTing Hsiao
4591e97f86 Use const variable
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 11:06:24 +05:30
Pavel Tumik
e1b335c029 [ws-manager] change workspace state tracing 2022-06-14 17:06:24 +05:30
Thomas Schubart
0f49949cf0 Add workspace class to environment variables 2022-06-09 23:08:19 +05:30
Pavel Tumik
be4da3eb37 [ws-manager] add config setting that allows to debug workspaces 2022-06-03 21:24:52 +05:30
Pudong Zheng
406da1e9c7 [workspace] Cleanup unuse annotations and network policy 2022-05-31 10:21:49 +05:30
Mads Hartmann
2823606369 Ensure we close spans 2022-05-28 23:44:47 +05:30
Pavel Tumik
905be0afd1 address PR feedback 2022-05-25 13:17:39 +05:30
Pavel Tumik
99204170c5 ensure volume snapshot naming consistency 2022-05-25 13:17:39 +05:30
Pavel Tumik
88768f6e50 snapshot volume support 2022-05-25 13:17:39 +05:30
JenTing Hsiao
d74402f78f Configure the PVC storageClassName when it's non-empty string
Otherwise, the Kubernetes tries to requesting a PVC with no storage class.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-23 09:30:37 +05:30
Pavel Tumik
b4db0c62ba [ws-manager] add tests for createPVCForWorkspacePod 2022-05-23 05:15:36 +05:30
Sven Efftinge
d8f51d3cf0 [supervisor] inflate all git repos
fixes [multi-repo] Shallow clones are not inflated #9021
2022-05-13 15:01:28 +05:30
Pavel Tumik @ GitPod
08acca87c1 [content-service] add prestop hook to extract git status when workspace is using pvc 2022-05-10 19:27:25 +05:30
Pudong Zheng
801ac5f52e Add metrics push gateway for supervisor 2022-05-10 19:06:25 +05:30
Christian Weichel
acd2eaf810 [ws-manager] Rename default workspace class
from "" to "default"
2022-05-10 16:43:25 +05:30
Manuel Alejandro de Brito Fontes
d1e9128046 [ws-manager] Reduce readiness probe initialDelaySeconds 2022-05-05 01:39:20 +05:30
Pavel Tumik
ba045a21cd update PVC support for Workspace Classes 2022-05-04 03:08:19 +05:30
Pavel Tumik
0ffc77d16a PR feedback fixes 2022-05-04 03:08:19 +05:30
Pavel Tumik
301190db53 Add persistent volume support for workspaces
fix
2022-05-04 03:08:19 +05:30
Christian Weichel
0150cf8cce [ws-manager] Introduce workspace classes 2022-04-29 14:24:15 +05:30
Pavel Tumik
0c66eb259d [ws-manager] fix workspace status flipping pending to deleted 2022-04-21 20:44:34 +05:30
Thomas Schubart
19ff95e940 Ensure Owner ID is available 2022-04-18 22:17:31 +05:30
Thomas Schubart
3bf6664eac Use checkout location during content init 2022-04-08 00:29:21 +05:30
Christian Weichel
0303453c07 Remove checkoutLocation from StartWorkspaceReq 2022-04-08 00:29:21 +05:30
Christian Weichel
dcf82f628e [ws-manager] Support custom CA certs 2022-04-05 21:28:19 +05:30
Manuel Alejandro de Brito Fontes
44ef47089b Remove unused labels 2022-03-04 13:42:11 +05:30
Manuel Alejandro de Brito Fontes
89105f8628 Update signatures due to k8s v1.23 changes 2022-03-03 18:46:10 +05:30
Manuel Alejandro de Brito Fontes
90fe82a508 Remove ghost from the codebase 2022-02-28 14:17:07 +05:30
Manuel Alejandro de Brito Fontes
82d786e2bb Remove ws-scheduler 2022-01-24 20:08:17 +01:00
Manuel Alejandro de Brito Fontes
0681a4a35e [ws-manager] Improve workspaces PodAffinity 2022-01-18 09:29:11 +01:00