Manuel Alejandro de Brito Fontes
edfd76d70d
Log JSON as strings not an array of bytes
2022-10-26 23:36:41 +02: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
Thomas Schubart
09f463458d
[ws-manager] Make protected secrets the default
2022-10-24 13:56:38 +02:00
Manuel Alejandro de Brito Fontes
2e04bac23d
[ws-manager] Refactor workspace probes
2022-10-23 08:26:37 +02:00
JenTing Hsiao
9828b22aa1
ws-manager: use kubernetes operation timeout for mark workspace annotation operation
...
The ws-manager relies on the workspace pod annotation (as the workspace pod state)
to decide the code logic. Therefore, we must ensure the annotation is added to the workspace pod.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-21 11:00:36 +02:00
Thomas Schubart
1cf84ad290
[ws-manager] Handle psi feature flag
2022-10-21 10:42:36 +02:00
utam0k
24f61c7028
ws-manager: Redact logs of a workspace status.
2022-10-21 03:47:36 +02:00
Manuel Alejandro de Brito Fontes
791362baa8
Fix potential leak of request body
2022-10-18 20:52:34 +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
537a6801f0
[ws-manager] update test case
2022-10-13 20:08:30 +02:00
Pudong Zheng
a83040893e
[ws-manager] refactory image layers
2022-10-13 20:08:30 +02:00
Pudong Zheng
32e270c913
[ws-manager] check ide-ready response
2022-10-13 18:13:28 +02:00
Pudong Zheng
18cde1a069
[ws-manager] Do not follow redirect when ready probe
2022-10-13 18:13:28 +02:00
JenTing Hsiao
801de49c1f
Skip "MountVolume.MountDevice failed for volume"
...
Ignore the FailedMount event with the message contains MountVolume.MountDevice failed for volume.
The ws-manager catches the FailedMount event and writes the error message into the workspace Conditions.Failed.
Then, the workspace pod is stopped, and the workspace failed message will be shown to the user.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-12 02:44:27 +02:00
JenTing Hsiao
b58ececf53
Revert "ws-manager: remove PVC object if the workspace pod fails to up"
...
This reverts commit 28fae90078c351207f3f0f48ab7fc6154cc4e5ce.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-06 19:17:22 +02:00
Pavel Tumik
389f7767fb
[ws-daemon] fix WaitForInit not found error in tracing
2022-10-05 10:35:21 +02:00
Pavel Tumik @ GitPod
efde42770b
[pvc] potential workaround for mount volume failure
2022-10-04 23:02:20 +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
3f6cbd07f1
Update go dependencies
2022-10-04 15:17:22 +02:00
Pavel Tumik
2c0f051b63
[ws-manager] fix tests
2022-10-04 06:25:20 +02:00
JenTing Hsiao
28fae90078
ws-manager: remove PVC object if the workspace pod fails to up
...
Remove the PVC object if the stop workspace request.
The PVC object removal is postponed until the PVC is no longer actively
used by the workspace pod.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-04 00:35:19 +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
Pavel Tumik @ GitPod
89f5072b5e
[ws-manager] improve warning message in StartWorkspace fn
2022-09-28 20:15:29 +02:00
Christian Weichel
2e66269b2d
[ws-manager] Remove req logs
2022-09-28 19:43:28 +02:00
JenTing Hsiao
169f8e7e76
ws-manager: return error if restore volume snapshot to smaller PVC size
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-28 09:42:28 +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
JenTing Hsiao
01fda6568c
ws-mananger: refactor volume snapshot watcher
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-27 00:31:27 +02:00
Pavel Tumik @ GitPod
b9d9cc7656
[ws-manager] make sure wsman does not spam in log on restart
2022-09-23 00:55:23 +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
Milan Pavlik
6f461f5714
[baseserver] Track metrics for HTTP requests automatically
2022-09-20 09:05:21 +02:00
JenTing Hsiao
df91671058
Add workspapce ID annotation to VolumeSnapshot object for filter event
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-16 00:58:16 +02:00
JenTing Hsiao
7c45c85cf4
ws-manager: fix event workers hang
...
Fix workers hang if there are over 100 VolumeSnapshot is ready, and the ws-manager be restarted.
The m.notifyPod channel is no receiver, and it causes the 100 event workers to hang.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-16 00:58:16 +02:00
Pavel Tumik @ GitPod
d4fe26f45f
[ws-manager] add policy key to tracing in StopWorkspace call
2022-09-13 01:18:14 +02:00
JenTing Hsiao
df7af28e55
Update golden files
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-31 16:08:16 +02:00
JenTing Hsiao
9fcb0ea057
Add labels to VolumeSnapshot object
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-08-31 16:08:16 +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
Pavel Tumik @ GitPod
52e954cd17
[workspace] fix multiple calls to finalizeWorkspaceContent can mess up dispose
2022-08-30 20:44: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
Pavel Tumik @ GitPod
92f2f1a418
[ws-manager] improve finalizeWorkspaceContent logic
2022-08-30 08:18:14 +02:00
Pavel Tumik @ GitPod
23f3e4257a
[ws-manager] simplify workspaceDisposalStatus and FinalBackupComplete condition
2022-08-26 01:54:10 +02:00
Pavel Tumik @ GitPod
498f23bfb3
[ws-manager] improve tracing in initializeWorkspaceContent
2022-08-25 01:46:41 +02:00
Thomas Schubart
46523d69e3
[ws-manager] Apply network limiting annotation
2022-08-24 14:14:40 +02:00
Pavel Tumik @ GitPod
fb7bcb9d3c
[ws-manager] add additional logging into finalizeWorkspaceContent
2022-08-24 01:27:40 +02:00