Huiwen
c98dde3b41
[ws-manager-bridge] fix incorrect module import
2023-02-13 08:34:18 +01:00
Milan Pavlik
00aacaeb5a
[ws-man-bridge] Expose region in ClusterStatus
2023-02-10 15:30:15 +01:00
Milan Pavlik
db05a7f5be
[server] Typed workspace region
2023-02-10 15:26:15 +01:00
Sven Efftinge
74aa6db6e4
[ws-manager-api] Add region for cluster selection
2023-02-08 10:51:46 +01:00
Milan Pavlik
5d38b2d220
[ws-manager-bridge] DoStop logging workspacestatus.auth for prebuilds
2023-01-17 12:18:25 +01:00
Milan Pavlik
f125f5a5cd
[ws-manager-bridge] Stop logging status.auth field
2023-01-17 11:29:25 +01:00
Mads Hartmann
06557ea800
Remove build artifacts from leeway package srcs lists
2022-12-12 08:12:22 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Sven Efftinge
91ad8a3550
[pvc] remove pvc related code
2022-12-01 09:07:00 -03:00
Andrew Farries
0b226113cd
Take the applicationCluster from config
...
Take the applicationCluster from config as happens elsewhere in this
module rather than from the environment.
2022-11-02 09:33:06 +01:00
Andrew Farries
076f35a1f2
Make deleteByName take an applicationCluster
...
Deleting a workspace cluster by name only makes sense in the context of
a particular workspace cluster.
2022-10-26 17:26:42 +02:00
Andrew Farries
e9eb6ac097
Make findByName take an applicationCluster
...
Finding a workspace cluster by name only makes sense in the context of a
particular workspace cluster.
2022-10-26 17:26:42 +02:00
Andrew Farries
eddd3936c5
Make applicationCluster mandatory when filtering
2022-10-26 17:26:42 +02: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
Gero Posmyk-Leinemann
f89cbd4575
[bridge] Introduce AppClusterWorkspaceInstanceController
2022-10-24 09:30:39 +02:00
Gero Posmyk-Leinemann
e2cfceb2d2
[bridge] Extract WorkspaceInstanceController
2022-10-19 10:57:34 +02:00
Gero Posmyk-Leinemann
2ff2afc8f7
[bridge] Make telepresence work again
2022-10-19 10:57:34 +02:00
Andrew Farries
ff707d2fdc
Return application cluster from service-server
...
Populate the new field added to the gRPC message in the parent commit.
2022-10-18 16:01:33 +02:00
Andrew Farries
3dde49ea58
Set applicationCluster when registering cluster
...
Set the application cluster when registering a new workspace cluster.
The applicationCluster is set to the value of the
GITPOD_INSTALLATION_SHORTNAME env var which must be set in the
environment of ws manager bridge.
2022-10-17 18:34:32 +02:00
Laurie T. Malau
9fd365e0ae
[metric] Add metric for instances marked as stopped
2022-10-06 16:23:22 +02:00
Laurie T. Malau
e00bffa9ce
[bridge] Mark as stopped pending and stopping
2022-09-29 15:16:29 +02:00
Alex Tugarev
dbb182a577
[server] mark prebuild as failed when image build fails
2022-09-26 16:21:27 +02:00
Alex Tugarev
0eab1e9153
[server] use Buffer.from properly
...
Trying to get rid of deprecation log entries.
2022-09-26 09:44:26 +02:00
Jan Keromnes
d745f7ff21
[ws-manager-bridge] Clean up instance tokens and track workspace stop even in irregular cases
2022-09-19 12:18:20 +02:00
Laurie T. Malau
2c14f37442
Fix logging
2022-09-15 11:49:16 +02:00
Laurie T. Malau
f2af99928f
Stops stuck workspaces
2022-09-14 22:09:15 +02:00
Jan Keromnes
dadc064c59
[ws-manager-bridge] Use more reasonable duration buckets for workspace instance updates
2022-09-09 09:51:24 +02:00
Jan Keromnes
a1df2b972d
[ws-manager-bridge] Don't report workspace instance update failures as both a failure and a success
2022-09-09 09:13:24 +02:00
Thomas Schubart
576eaaf250
[bridge] Return instances preventing deregistration
2022-08-17 10:01:34 +02:00
Jean Pierre
3014435230
Match google-protobuf version across components
2022-08-17 08:14:33 +02:00
Sven Efftinge
a00f21067c
[server] maintain workspace instance state
...
get closer to workspace instance state reflects actual state in cluster.
2022-08-12 09:15:29 +02:00
Gero Posmyk-Leinemann
2dc450d595
[protocol, et al] Extract gRPC ClientCallMetrics into protocol
2022-07-20 09:31:15 -03:00
Christian Weichel
76ad6c215e
[ws-manager-bridge] Remove HasMoreResources admission constraint
...
We've moved to workspace classes for this feature.
2022-07-15 14:31:02 +02:00
Christian Weichel
68840d62d4
[ws-manager-bridge] Remove HasUserLevel admission constraint
...
We never really used it and solved this case with other means
2022-07-14 19:49:01 +02:00
Gero Posmyk-Leinemann
6ace17b547
[server] Use workspace cluster as image-builder (feature flag: "movedImageBuilder")
2022-07-12 14:40:59 +05:30
Christian Weichel
48aff21449
[ws-manager-bridge] Use WS update status version
2022-07-08 20:23:55 +05:30
Thomas Schubart
88e5beb8d6
[bridge] Regularly check for class updates
2022-07-06 23:15:53 +05:30
Thomas Schubart
5c51126ce7
[bridge] Add deployment script
2022-07-06 23:15:53 +05:30
Thomas Schubart
24d939d021
[bridge] Retrieve classes during registration
2022-07-06 23:15:53 +05:30
Gero Posmyk-Leinemann
564a6923c9
[bridge] Remove timeout for 'stopping', as that is responsibility of ws-manager
2022-06-30 17:08:38 +05:30
Gero Posmyk-Leinemann
52a42c3d6e
[bridge] Move MetaInstanceController into Bridge.controlInstances
2022-06-30 17:08:38 +05:30
Gero Posmyk-Leinemann
d9bf64f7f3
[bridge] Add log.error in case we are about to override a previous "failed" condition
2022-06-24 18:28:33 +05:30
Gero Posmyk-Leinemann
40b8202c76
[bridge] Add tracing for Bridge.controlInstances
2022-06-24 16:03:33 +05:30
Gero Posmyk-Leinemann
a921c1464b
[bridge] Don't log certificates
2022-06-21 12:37:30 +05:30
Gero Posmyk-Leinemann
ed02a78436
[bridge] Use DebugApp
2022-06-21 12:37:30 +05:30
Pavel Tumik
7a7792f531
volume snapshot delete and restore support, garbage collection
2022-06-15 02:37:25 +05:30
Laurie T. Malau
025c2759ea
inc metric only with state change and improve logging
2022-06-13 20:08:24 +05:30
Laurie T. Malau
6525911683
add metrics
2022-06-09 12:23:19 +05:30
Gero Posmyk-Leinemann
df7ed58ada
[bridge] Extracting updating of prebuilds into PrebuildUpdater
2022-06-02 17:59:51 +05:30
Gero Posmyk-Leinemann
69a093567c
[bridge] Cleanup dead code (probes workspaces are long-gone)
2022-06-02 15:41:51 +05:30