Wouter Verlaek
00229da4af
[ws-manager-mk2] Add finalizer on workspace, handle deletion
2023-02-15 11:27:19 +01:00
Thomas Schubart
ad3b05c064
[ws-manager-mk2] Support system environment variables
2023-02-15 08:22:19 +01:00
Wouter Verlaek
e62c773362
[ws-manager-mk2] Aborted condition, grace period
2023-02-14 12:04:19 +01:00
Wouter Verlaek
65d5cb2d88
[ws-manager-mk2] Cleanup EverReady condition
2023-02-14 11:28:19 +01:00
Milan Pavlik
db05a7f5be
[server] Typed workspace region
2023-02-10 15:26:15 +01:00
Pudong Zheng
377f00cb02
[ws-manager] Add custom closed timeout
...
Co-authored-by: Wouter Verlaek <wouter@gitpod.io>
2023-02-10 11:16:15 +01:00
Wouter Verlaek
172c58c0eb
[ws-manager-mk2] Workspace timeouts
2023-02-10 10:49:15 +01:00
Wouter Verlaek
093338cca3
Increase envtest start/stop timeout
2023-02-08 16:47:46 +01:00
Wouter Verlaek
a4e0b11fe2
[ws-manager-mk2] Fix and enable controller tests
2023-02-08 16:47:46 +01:00
Sven Efftinge
74aa6db6e4
[ws-manager-api] Add region for cluster selection
2023-02-08 10:51:46 +01:00
Wouter Verlaek
971c3d6412
[ws-manager-mk2] Implement MarkActive
2023-02-07 10:51:45 +01:00
Thomas Schubart
382bde1767
[ws-manager-mk2] Switch to lru cache
2023-01-30 23:22:38 +01:00
Thomas Schubart
a485cb69a9
[ws-manager-mk2] Ensure metrics are only counted once
2023-01-30 23:22:38 +01:00
Thomas Schubart
a80ee4a26b
[ws-manager] Delete workspace CR on stop
2023-01-30 14:59:37 +01:00
Thomas Schubart
f1454d3994
[ws-daemon] Only handle k8s operations in controller
2023-01-30 14:59:37 +01:00
Wouter Verlaek
3651262ba2
[ws-manager-mk2] Configure health probes and leader election
2023-01-27 04:12:34 +01:00
Wouter Verlaek
8aa5a1d12c
[ws-manager-mk2] Add print columns and shortname
2023-01-23 15:41:31 +01:00
Christian Weichel
572fcbb008
[ws-daemon] Start workspace controller based content init
2023-01-23 14:14:30 +01:00
Christian Weichel
7ca2a11572
[ws-manager-mk2] Remove ws-daemon connection
2023-01-23 14:14:30 +01:00
Christian Weichel
a3f8d86f3b
[ws-manager-mk2] Fix build after rebase
2023-01-23 14:14:30 +01:00
Christian Weichel
99bff04aa5
[ws-manager-mk2] Rework CRD to better match k8s best practice
2023-01-23 14:14:30 +01:00
Christian Weichel
f91abd8a1e
[ws-manager-mk2] Add workspace class support
2023-01-23 14:14:30 +01:00
Christian Weichel
56961e02a1
[ws-manager-mk2] Improve status extraction
2023-01-23 14:14:30 +01:00
Christian Weichel
9992d4fa32
[ws-proxy] Support workspace CRD
2023-01-23 14:14:30 +01:00
Christian Weichel
abeea17ab5
Move ws-manager-mk2 CRD to API package
2023-01-23 14:14:30 +01:00
JenTing Hsiao
4af9af4a1e
Apply suggestions from code review
...
Co-authored-by: Pavel Tumik <18602811+sagor999@users.noreply.github.com>
2023-01-03 23:48:43 +01:00
JenTing Hsiao
af04243b3b
If dryRun, return gRPC FailedPrecondition
...
If dryRun enables on StartWorkspace/StopWorkspace/TakeSnapshot,
return gRPC FailedPrecondition status code and error message
`under maintenance mode`.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-03 23:48:43 +01:00
Wouter Verlaek
72d9152a71
[image-builder] Enable TLS in workspace clusters
...
Fix cyclic import cycle
Update altnames
Update golden testdata, todo
Update grpc opts
Testing
Remove blocking dial
Only add TLS in ws cluster
Conditional TLS
Add comments
2022-12-20 02:45:29 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Anton Kosyakov
6533581a0e
[ssh-proxy] only mark first active when user establish ssh connection
...
VS Code Remote SSH will reestablish a ssh connection even if window is not uesd.
It will retrigger heartbeat over and over in SSH Gateway.
SSH Gateway should only triggert heartbeat if pty sessions is present.
Co-authored-by: Pudong <tianshi8650@gmail.com>
2022-11-09 21:46:39 +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
Andrew Farries
956c97961f
Run ws-manager-api typescript tests
...
The component defines tests but the tests were never run since leeway
was instructed not to to run tests for this component.
Start running the tests and add the necessary dev dependencies to allow
leeway to run them.
2022-11-08 16:33:38 +01:00
Pavel Tumik
17d51f5228
pass workspace type when deleting volume snapshots
2022-11-04 16:14:09 +01:00
Thomas Schubart
7b468c43ef
[ws-manager-api] Remove protected secrets from grpc
2022-11-02 21:25:07 +01:00
Andrew Farries
2ede9de6e0
Pass applicationCluster everywhere
...
Connect the configured installationShortname aka applicationCluster from
server, ws-manager-bridge, and the image-builder-api to workspace
cluster provider.
2022-10-26 17:26:42 +02:00
Andrew Farries
fcf18c43e1
Make client providers filter by app cluster
...
This reverts commit 17531ae098f1098084e58ce1284a635ee7704483.
2022-10-26 17:26:42 +02:00
Thomas Schubart
8382abc381
[ws-manager-api] Generate grpc for psi
2022-10-21 10:42:36 +02:00
Andrew Farries
dac3b74e8b
Revert "Make client providers filter by app cluster"
...
This reverts commit 83a33cbad6e4acf004ecf475df9bf04c3e50d998.
2022-10-20 13:39:35 +02:00
Andrew Farries
ee54e2c23e
Make client providers filter by app cluster
2022-10-20 09:52:35 +02:00
Andrew Farries
975743e715
Update test data
2022-10-17 18:34:32 +02:00
Pudong Zheng
a83040893e
[ws-manager] refactory image layers
2022-10-13 20:08:30 +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
000cadead8
Update grpc code
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
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
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
Milan Pavlik
6f461f5714
[baseserver] Track metrics for HTTP requests automatically
2022-09-20 09:05:21 +02:00