7592 Commits

Author SHA1 Message Date
Christian Weichel
303488955b [ws-scheduler] Simplify state computation 2020-12-01 13:18:59 +01:00
Gero Posmyk-Leinemann
c43afb32a7 [ws-scheduler] List pods from _all_ namespaces when calculating available resources 2020-12-01 11:42:58 +01:00
Christian Weichel
99dbdff7c9 [ws-proxy] Add missing license header
/werft no-preview
2020-12-01 10:18:07 +01:00
Christian Weichel
6f0178f0da [dev] Add gpctl - a CLI frontend to some of Gitpod's backend services 2020-12-01 10:18:07 +01:00
Christian Weichel
5ba05d39cc [dev] Add blowtorch - tool to inject toxiproxies inbetween k8s services 2020-12-01 10:18:07 +01:00
Christian Weichel
fc044c8f0b [ws-scheduler] Impose order in UniquePods without Generation field
The `Generation` field is optional and its presence depends on the
underlying Kubernetes distribution. In the official one, at least in the
version we're using, that field is not present. Because of that we might
not merge the bindings with the pre-existing pods correctly, possibly
loosing localBindingCache information.
2020-12-01 09:59:37 +01:00
Christian Weichel
2cd331c7df [ws-scheduler] Remove pod indirection 2020-12-01 09:59:37 +01:00
George Tsiolis
cefb0cd936
Use the same color for checkbox and radio inputs in settings (#2345) 2020-12-01 10:54:31 +02:00
Christian Weichel
712d1be698 [ws-daemon] Reintroduce the working_area_free_bytes metric 2020-11-30 17:58:38 +01:00
Christian Weichel
284fbaf6dd [registry-facade] Add metrics for manifest and blob access
/werft https
2020-11-30 17:49:12 +01:00
Gero Posmyk-Leinemann
6201e87ace [ws-scheduler] Make sure we do not clear localBindingCache too early 2020-11-30 16:15:40 +01:00
Anton Kosyakov
e1b4b7478b fix #2332: pull user settings state up 2020-11-30 15:19:50 +01:00
Christian Weichel
4d055558df [pprof] Fix sampling based profiles 2020-11-30 13:13:42 +01:00
Christian Weichel
33e3a9f1db [pprof] Support mutex contention sampling for /block 2020-11-30 12:02:09 +01:00
Christian Weichel
ced1e6ac69 [ws-daemon] Add readiness probe 2020-11-30 11:06:39 +01:00
Sven Efftinge
ab0853b95a [ws-proxy] Wait 3 secs for WS info before redirecting to /start 2020-11-30 11:03:34 +01:00
Christian Weichel
e09398e220 [ws-scheduler] Pod must be ready for service to be available 2020-11-30 10:49:15 +01:00
gtsiolis
53708d0107 [dashboard] Use logo link to redirect to dashboard 2020-11-28 16:07:26 +01:00
gtsiolis
94a961e018 Align checkbox style in settings 2020-11-28 16:06:57 +01:00
gtsiolis
ed1180e10a Improve feature preview settings 2020-11-28 16:06:57 +01:00
Cornelius A. Ludmann
afd3d1ff33 [wsman] Add support to talk to older WorkspaceManagers
The package/namespace of gRPC has been changed from 'protocol' to 'wsman'. This commit adds the option to configure WorkspaceManager with legacy = true in order to use the old namespace for certain WorkspaceManager instances.

This should probably be reverted as soon as we do not need to talk to legacy WorkspaceManagers anymore.
2020-11-27 19:46:15 +01:00
Christian Weichel
4ac6416837 [ws-daemon] Unblock fixed host source 2020-11-27 18:22:32 +01:00
Christian Weichel
0184c98405 [registry-facade] Fix fixedIPSource 2020-11-27 17:43:34 +01:00
Christian Weichel
c3ccf1cab4 [supervisor] Gracefully close terminals on shutdown 2020-11-27 17:41:04 +01:00
Anton Kosyakov
d103bd857c [supervisor] don't drop last ports/tasks updates 2020-11-27 15:36:30 +01:00
Christian Weichel
bb1225bf76 [supervisor] Disable flakey auto expose configured ports test 2020-11-27 14:59:44 +01:00
Christian Weichel
debf19ce82 [supervisor] Make tests less verbose 2020-11-27 14:59:44 +01:00
Christian Weichel
ed5058bb6f [ws-manager] Remove ws-daemon node selector
now that we have ws-scheduler doing this for us
2020-11-27 14:59:44 +01:00
Christian Weichel
f0b4643f13 [ws-manager] Add requiredNodeServices annotation 2020-11-27 14:59:44 +01:00
Christian Weichel
76c8adc12c [ws-scheduler] Support node-specific services during scheduling 2020-11-27 14:59:44 +01:00
Gero Posmyk-Leinemann
1f138c2804 [ws-proxy] Introduce withXFrameOptionsFilter on workspace ports 2020-11-27 14:56:04 +01:00
Gero Posmyk-Leinemann
24b559760e [ws-proxy] Allow multiple responseHandlers 2020-11-27 14:56:04 +01:00
Gero Posmyk-Leinemann
169c08111b [ws-scheduler] Ephemeral storage tests 2020-11-27 14:19:16 +01:00
Gero Posmyk-Leinemann
20d0d98ca7 [ws-scheduler] Allow resources to be "equal", not just "bigger than" 2020-11-27 14:19:16 +01:00
Gero Posmyk-Leinemann
9846f623af [ws-scheduler] Add eph. storage to debug/test output 2020-11-27 14:19:16 +01:00
Gero Posmyk-Leinemann
28e2ccb663 [ws-scheduler] Consider ephemeral storage during scheduling 2020-11-27 14:19:16 +01:00
Christian Weichel
c2607e500b [ws-proxy] Wait for workspace info until the request is canceled 2020-11-27 12:04:44 +01:00
Christian Weichel
1ae02969eb [workspace] Remove privileged workspace config flag 2020-11-27 10:54:56 +01:00
Christian Weichel
8d2002b57b [ws-daemon] Make content initialiser properly shift UID/GIDs
avoids a race between "content ready" and supervisor

/werft https
2020-11-27 09:59:36 +01:00
Christian Weichel
8d7deffb49 [ws-manager] Less noisy marking of timed out WS in intermediate state 2020-11-27 09:57:18 +01:00
Anton Kosyakov
a0f4afb928 fix #2290: ensure that clients don't miss ports/tasks status updates 2020-11-27 09:38:20 +01:00
Moritz Eysholdt
705e2b75ec Move TypeFox/gitpod-test-repo to gitpod-io/gitpod-test-repo 2020-11-27 09:22:43 +01:00
Christian Weichel
45ed903a54 [supervisor] Tone down process reaper logs 2020-11-26 14:42:18 +01:00
Christian Weichel
27c29b50c8 [blobserve] Serve no-cache header to force re-validation of the ETag header 2020-11-26 13:33:10 +01:00
Christian Weichel
ee24833dd9 [blobserve] Use blob digest as ETag header
/werft https
2020-11-26 13:33:10 +01:00
Christian Weichel
5a5812f38d [ws-manager-bridge] Append breakline to headless status message
Fixes gitpod-io/gitpod#2279
2020-11-26 11:58:16 +01:00
Christian Weichel
a21a6806cb [dashboard] Update nginx to stable alpine (1.18.0)
to reduce the number of known vulnerabilities
2020-11-26 09:58:39 +01:00
Christian Weichel
c9986c4740 [ws-scheduler] Make scaler use UUIDv4 instead of v1 2020-11-26 09:58:17 +01:00
Christian Weichel
f7561f792a [cerc] Move to google UUID package
Remedies https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSATORIGOUUID-72488
2020-11-26 09:58:17 +01:00
Christian Weichel
72c5e488d0 [ws-manager] Close headless listener properly
fixes #2280
2020-11-25 16:46:05 +01:00