JenTing Hsiao
bb96008cb6
Fix the metric workspace_starts_failure_total and workspace_stops_total
...
Increase the metric workspace_starts_failure_total when the workspace stops and
the pod's annotation "gitpod/never-ready" exist. It means the workspace pod never
went into the running state, probably because
- the workspace pod can't allocate to the workspace node
- content initialization failure
- the workspace pod is never ready
Increase the metric workspace_stop_total when the workspace stops and
the pod's annotation "gitpod/never-ready" does not exist. So, the metric
workspace_stop_total does not increase on the start failure.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-04 23:47:44 +01:00
utam0k
24a7d195db
ws-manager: Update and add golden files
2022-12-28 23:23:37 +01:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
utam0k
d27715d4a8
ws-manager: Update golden files
2022-11-15 03:30:44 +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
JenTing Hsiao
d686ea9685
Add counter metrics to record error count
...
Add two metrics to record the `mount device failed` and `cannt mount volume`
error. So, we could know the frequency the error happened.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-11-03 10:57:07 +01:00
utam0k
8200bfb7c1
ws-manager: Add the workspace statys for PodInitialzing phase.
2022-10-25 17:04:40 +02: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
da10c122b5
[ws-manager] Update test files
2022-10-24 13:56:38 +02:00
Pudong Zheng
537a6801f0
[ws-manager] update test case
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
JenTing Hsiao
df7af28e55
Update golden files
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-31 16:08:16 +02:00
mustard
95fa4439e5
[gp-cli] provide workspace class info in top command
2022-08-30 10:25:14 +02:00
Pavel Tumik @ GitPod
23f3e4257a
[ws-manager] simplify workspaceDisposalStatus and FinalBackupComplete condition
2022-08-26 01:54:10 +02:00
utam0k
bb60d0a24b
ws-manager: add a handle if diposeStatus doesn't exist
2022-08-19 19:54:36 +02:00
utam0k
28c7ee2281
ws-manager: update the golden files
2022-08-19 19:54:36 +02:00
Manuel Alejandro de Brito Fontes
eca6a38887
Update golden files
2022-08-13 03:01:29 +02:00
Kyle Brennan
16932555d0
Revert "Update test files"
...
This reverts commit 688678493ae1741d7506b2acf8c0f62c566c54e7.
2022-08-11 06:23:54 +02:00
Manuel Alejandro de Brito Fontes
7a5fb96b53
Update test files
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
b257cd8f2c
[ws-manager] Update tests
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
ccb4e180a7
Remove backup trail
2022-08-04 05:00:48 -03:00
Pavel Tumik
27763e8d6f
[ws-manager] fix not handling workspaces that are completed
2022-08-01 17:24:46 -03:00
JenTing Hsiao
66042649f5
unit test: update golden file
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-29 23:45:24 -03:00
JenTing Hsiao
509a83a46f
Update unit test golden file
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-29 14:51:23 -03:00
Pavel Tumik
f4f86bb547
[ws-manager] fix incorrect handling of failure state for workspaces
2022-07-27 16:14:22 -03:00
Pudong
ef139861d1
Revert "[ws-manager] do not overwrite failed state"
...
This reverts commit 96c136f2d266ebe23deca3236221de1e9ad06a36.
2022-07-18 06:21:13 +02:00
Pavel Tumik
96c136f2d2
[ws-manager] do not overwrite failed state
2022-07-15 21:36:02 +02:00
Christian Weichel
03a141802e
[ws-manager] Fix validStartReq tests
2022-07-08 14:27:55 +05:30
Christian Weichel
7fda2b3445
[ws-manager] Only extract secrets when FF is set
2022-07-08 14:27:55 +05:30
Christian Weichel
3518346650
[ws-manager] Ship env vars as secret
2022-07-06 19:22:53 +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
f25ba24c96
Always apply labels and update tests
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
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
73e41010dc
[ws-manager] add fixture to test debug workspace pod flag
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
eeedfcdce6
[ws-manager] show why pod entered completed state
2022-06-02 22:52:51 +05:30
Pudong Zheng
406da1e9c7
[workspace] Cleanup unuse annotations and network policy
2022-05-31 10:21:49 +05:30
mustard
1d14c1fa39
Fix ws-manager test case error
2022-05-25 15:22: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
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
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
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
Christian Weichel
8128261727
[ws-manager] Fix CDWP test
2022-05-10 20:53:25 +05:30
Pudong Zheng
801ac5f52e
Add metrics push gateway for supervisor
2022-05-10 19:06:25 +05:30