183 Commits

Author SHA1 Message Date
Cornelius A. Ludmann
47d4ac5345 [ws-proxy] Get supervisor image from pod annotation
instead from ws-proxy config
2021-11-15 08:45:12 +01:00
Christian Weichel
1de8d787e1 [ws-proxy] Provide access to headless workspaces 2021-11-12 10:58:09 +01:00
Cornelius A. Ludmann
a7166daa72 Set version in Go components during build time 2021-11-11 10:23:08 +01:00
Manuel Alejandro de Brito Fontes
77321f8269 Update go modules 2021-11-05 10:33:03 +01:00
Manuel Alejandro de Brito Fontes
526c95e344 Decouple ws-proxy from ws-manager 2021-11-05 10:33:03 +01:00
Cornelius A. Ludmann
e7c93eb382 [ws-manager] Add destkop_ide_image 2021-10-26 15:02:04 +02:00
Manuel Alejandro de Brito Fontes
7af2c7328e Remove deprecated wsManagerProxy references 2021-10-21 16:12:59 +02:00
Manuel Alejandro de Brito Fontes
1854bfae70 Update controller-runtime and k8s go dependencies 2021-10-14 12:14:01 -03:00
Manuel Alejandro de Brito Fontes
1eb8f86a7b Refactor GRPC TLS connection default 2021-10-12 16:09:59 -03:00
Simon Emms
64cb84b1cc [installer]: configure leeway to build installer 2021-10-12 10:44:59 -03:00
Christian Weichel
8efac73cba [prow] Add labels to OWNERS files 2021-10-12 09:01:58 -03:00
Simon Emms
523c28fdc1 [ws-proxy]: extract the config from the cmd package
This allows the Config to be exposed for the installer
2021-10-04 11:58:51 -03:00
Manuel Alejandro de Brito Fontes
7ede29579c Update go dependencies 2021-09-30 11:31:47 -03:00
Rohan Patra
7e34c6c671 Add 5 second interval automatic page reload to
default 404 page for unserved ports.
2021-09-30 06:37:47 -03:00
Manuel Alejandro de Brito Fontes
58a9e395a8 [proxy] Do not log supervisor proxy errors 2021-09-24 03:57:49 -03:00
rl-gitpod
a4751772fe [integration-test] Add support for new IDE config and sanity checks 2021-09-22 20:42:47 -03:00
rl-gitpod
2847ef3ace [ws-proxy] Use instance ID to not stomp on newer workspaces when handling events 2021-09-22 20:42:47 -03:00
Manuel Alejandro de Brito Fontes
f25de2cdbf Log error changing default level 2021-09-22 10:15:47 -03:00
Christian Weichel
d60599cd95 [common-go] Support client side gRPC metrics 2021-09-17 08:34:42 -03:00
Manuel Alejandro de Brito Fontes
e6d1cea54d Enable GRPC logging 2021-09-13 21:09:39 +05:30
Manuel Alejandro de Brito Fontes
23f41cb35e [ws-proxy] Remove proxy of ws-manager. 2021-09-13 18:27:38 +05:30
Manuel Alejandro de Brito Fontes
c46507f03c [ws-proxy] Change log level if no owner cookie is present 2021-09-13 16:18:38 +05:30
Manuel Alejandro de Brito Fontes
5ba43eba6f [ws-proxy] Improve log message and reduce verbosity 2021-09-07 07:44:13 +02:00
Manuel Alejandro de Brito Fontes
9fd31effac Update go modules 2021-09-01 17:44:31 +02:00
Manuel Alejandro de Brito Fontes
b7a3b87337 Remove duplication of GRPC configuration 2021-09-01 17:44:31 +02:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Manuel Alejandro de Brito Fontes
f7cf8e33e7 Update go dependencies 2021-08-27 12:33:26 -03:00
Manuel Alejandro de Brito Fontes
84c6c68073 [ws-proxy] Configure grpc keepalive DialOption options 2021-08-24 08:52:23 +02:00
Manuel Alejandro de Brito Fontes
6e7340dc86 Update k8s dependencies to v1.22.0 2021-08-11 17:31:10 +02:00
Manuel Alejandro de Brito Fontes
4edfce5ebf Update grpc dependencies
Signed-off-by: Manuel Alejandro de Brito Fontes <aledbf@gmail.com>
2021-08-04 15:49:04 +02:00
Christian Weichel
140c897d0d Remove old headless log infrastructure 2021-07-28 12:33:31 +02:00
Manuel Alejandro de Brito Fontes
f6aea008e9 [ws-proxy] Skip DNS errors when workspace is not available 2021-07-26 15:51:30 +02:00
Christian Weichel
afe7eda668 [ws-proxy] Disable compression on supervisor API
to avoid "stuttering log output" in image-builder
2021-07-22 16:32:26 +02:00
Anton Kosyakov
ed076d77a8 [code] fix #4529: serve each webview from own origin
decoupled from workpace origin (also extension host origin)
2021-07-16 14:08:25 +05:00
Christian Weichel
c8eb943822 [prow] Add OWNERS files 2021-07-15 11:29:47 +02:00
Anton Kosyakov
f6ad999455 [code] fix #4568: inline static links to blobserve 2021-07-07 08:04:28 +02:00
Manuel Alejandro de Brito Fontes
ce50d2a812 Update alpine to 3.14 2021-07-01 15:42:52 -04:00
Cornelius A. Ludmann
cf6a5dc723 [ws-proxy] Allow workspace router to match URLs from other clusters 2021-06-28 14:19:47 +02:00
Cornelius A. Ludmann
8ef75abd27 [ws-proxy] Rename theiaRouter to ideRouter 2021-06-28 14:19:47 +02:00
Christian Weichel
eaa6e80038 [build] Tag images with commit hash instead of leeway pkg version 2021-06-16 18:34:51 +02:00
Manuel Alejandro de Brito Fontes
bd3ba7cdec Refactor port parsing 2021-06-16 10:45:31 -04:00
Manuel Alejandro de Brito Fontes
9681a2ba9b Update k8s dependencies to v0.21.1 2021-06-15 09:45:54 -04:00
Manuel Alejandro de Brito Fontes
a57e2e73ea Update go dependencies 2021-06-15 09:45:54 -04:00
Anton Kosyakov
7d0986778e [ws-proxy] tune idle connection pool
By default the connection pool is capped only by 2 connections per host.
If a client tries to open many connections then latency increased significantly,
see https://stackoverflow.com/a/60114945/961588.
This commit configures the connection pool be unlimited but capped by 100 connections per host.
It was inspired by measurement in Caddy: https://github.com/caddyserver/caddy/issues/2805
2021-06-14 08:52:43 +05:00
Christian Weichel
f9a2ae3a45 [versions] Produce helm chart compatible versions file 2021-06-13 19:22:45 +02:00
Anton Kosyakov
46d1a4dacc [ws-proxy] correct websocket headers
a work-around for servers which does not respect case-insensitive headers, see https://github.com/gitpod-io/gitpod/issues/4047#issuecomment-856566526
2021-06-09 07:59:48 +05:00
Manuel Alejandro de Brito Fontes
9dfea94c9b Run shellcheck against scripts 2021-06-04 16:26:37 -04:00
Christian Weichel
015b38ff06 [build] Produce version manifest 2021-06-03 15:17:16 +02:00
Alex Tugarev
9d83f65665 [server] fix workspaceID regex 2021-06-01 13:52:07 +02:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00