353 Commits

Author SHA1 Message Date
Pavel Tumik
8553668174 [ws-manager] change log from debug to error 2022-06-11 03:47:20 +05:30
Thomas Schubart
0f49949cf0 Add workspace class to environment variables 2022-06-09 23:08:19 +05:30
Aleksandar Aleksandrov
cdb1a33ed3 Configure grpc_server histogram metrics with proper buckets 2022-06-08 16:11:18 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
JenTing Hsiao
609d9b323e Add metrics to record backup success/failure count
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-06 23:30:16 +05:30
Pavel Tumik
73e41010dc [ws-manager] add fixture to test debug workspace pod flag 2022-06-03 21:24:52 +05:30
Pavel Tumik
be4da3eb37 [ws-manager] add config setting that allows to debug workspaces 2022-06-03 21:24:52 +05:30
Pavel Tumik
0f0a855746 Update status_wsstartup_Creating00.golden 2022-06-02 22:52:51 +05:30
Pavel Tumik
35f0b08a5a Update components/ws-manager/pkg/manager/status.go
Co-authored-by: Christian Weichel <chris@gitpod.io>
2022-06-02 22:52:51 +05:30
Pavel Tumik
eeedfcdce6 [ws-manager] show why pod entered completed state 2022-06-02 22:52:51 +05:30
Christian Weichel
0f406c4468 [ws-manager] Add workspace class to metrics 2022-05-31 21:26:50 +05:30
Pudong Zheng
406da1e9c7 [workspace] Cleanup unuse annotations and network policy 2022-05-31 10:21:49 +05:30
JenTing Hsiao
1fbffffef2 Observe metrics when there are no errors.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-30 22:14:48 +05:30
JenTing Hsiao
795e4e75cd Calculate the time of taking the volume snapshot
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-30 22:14:48 +05:30
JenTing Hsiao
5d22d4ae7d Add a metric to record volume snapshot time
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-30 22:14:48 +05:30
Mads Hartmann
2823606369 Ensure we close spans 2022-05-28 23:44:47 +05:30
Manuel Alejandro de Brito Fontes
fe904f9571 [ws-manager] Check the pod contains a workspace class and exists 2022-05-26 02:31:39 +05:30
mustard
1d14c1fa39 Fix ws-manager test case error 2022-05-25 15:22:39 +05:30
utam0k
0a68903b28 ws-manager: Refactor the annotation bool string. 2022-05-25 13:56:39 +05:30
utam0k
38a40f94e7 ws-manager: Add a test case for faild a workspace start-up. 2022-05-25 13:56:39 +05:30
utam0k
6419e31102 Make the pods be removed when workspacekit fails. 2022-05-25 13:56:39 +05:30
Manuel Alejandro de Brito Fontes
f0bc3586cb Update go modules 2022-05-25 13:18:39 +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
c216147283 [ws-manager] improve error handling around snapshot volume creation 2022-05-25 13:17:39 +05:30
Pavel Tumik
c6910dac35 tie snapshot volumes to workspace instance id 2022-05-25 13:17:39 +05:30
Pavel Tumik
56d1756376 remove daemon-api change as it is not needed 2022-05-25 13:17:39 +05:30
Pavel Tumik
88768f6e50 snapshot volume support 2022-05-25 13:17:39 +05:30
utam0k
ee00426319 ws-manager: Use grpc.WithTransportCredentials instead of grpc.WithInsecure because of deprecated. 2022-05-25 12:06:39 +05:30
utam0k
fd8e26f12a ws-manager: Use fmt.Errorf instead of xerrors.Errorf. 2022-05-25 12:06:39 +05:30
JenTing Hsiao
1646db75b3 Fix unit test TestCreatePVCForWorkspacePod
Update the golden file.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-23 09:30:37 +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
Milan Pavlik
6b11a82af7 [content-service] Port to use baseserver 2022-05-17 23:52:32 +05:30
Pavel Tumik
30e8f7d292 [ws-manager] make sure to fail prebuild if we cannot store snapshot from it 2022-05-17 13:44:31 +05:30
JenTing Hsiao
a816c6cc6f Add meta ID and owner to find the workspace image-build Pod
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-05-16 12:54:30 +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
Manuel Alejandro de Brito Fontes
bbacba44aa Update go modules 2022-05-12 16:39:27 +05:30
Christian Weichel
c42fc44b0b Remove helm chart 2022-05-11 21:10:26 +05:30
Thomas Schubart
b5175874e7 Ensure deletion context has time left 2022-05-11 14:26:27 +05:30
Christian Weichel
8128261727 [ws-manager] Fix CDWP test 2022-05-10 20:53:25 +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
a9849a61f1 [ws-manager] Avoid invalid workspace class names 2022-05-10 16:43:25 +05:30
Christian Weichel
acd2eaf810 [ws-manager] Rename default workspace class
from "" to "default"
2022-05-10 16:43:25 +05:30
Christian Weichel
59c10c6e41 [ws-manager] Explicitely proxy image-builder 2022-05-10 16:02:25 +05:30
Pavel Tumik @ GitPod
02a95899ec [installer] add snapshot class into PVC config for ws-manager 2022-05-06 16:01:21 +05:30
Pavel Tumik @ GitPod
cc893bee20 [ws-manager] fix calling dispose multiple times 2022-05-06 14:31:21 +05:30
Manuel Alejandro de Brito Fontes
d1e9128046 [ws-manager] Reduce readiness probe initialDelaySeconds 2022-05-05 01:39:20 +05:30
Manuel Alejandro de Brito Fontes
2e7526ff72 Update go modules 2022-05-04 13:58:20 +05:30