130 Commits

Author SHA1 Message Date
Pavel Tumik
8c36a94586 [pvc] add init container to workspace to chown pvc mount folder 2022-11-02 06:20:06 +01:00
Thomas Schubart
9fd3e3b61d [ws-manager] Ensure values are not overwritten
If a variable is already sourced from a reference do not overwrite it.
2022-10-24 13:56:38 +02:00
Thomas Schubart
09f463458d [ws-manager] Make protected secrets the default 2022-10-24 13:56:38 +02:00
Thomas Schubart
1cf84ad290 [ws-manager] Handle psi feature flag 2022-10-21 10:42:36 +02:00
utam0k
381f347ee6 ws-manager: NODE_EXTRA_CA_CERTS is the value of the gitpod internals 2022-10-13 23:51:28 +02:00
Pudong Zheng
a83040893e [ws-manager] refactory image layers 2022-10-13 20:08:30 +02:00
Milan Pavlik
8b94c543e9 [ws-manager] Remove Probe workspace type 2022-09-29 10:25:30 +02:00
Manuel Alejandro de Brito Fontes
05828a2ee0 Enable configuration of core dumps in .gitpod.yml files 2022-09-21 16:43:22 +02:00
JenTing Hsiao
84307c3700 Add labels to PVC object
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-31 16:08:16 +02:00
Pavel Tumik @ GitPod
07af344487 [ws-manager] do not error out if encountering unknown feature flag 2022-08-30 20:45:15 +02:00
mustard
95fa4439e5 [gp-cli] provide workspace class info in top command 2022-08-30 10:25:14 +02:00
Anton Kosyakov
008ea3fadc [jb] prepare to split backend and plugin images 2022-08-30 09:36:14 +02:00
Thomas Schubart
46523d69e3 [ws-manager] Apply network limiting annotation 2022-08-24 14:14:40 +02:00
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