44 Commits

Author SHA1 Message Date
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
a10dc221fb Watch the config.manager change
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
utam0k
f19761e2ac ws-manager: Monitor a event about deleting a pod
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-11-11 07:24:40 +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
JenTing Hsiao
8094e01762 Remove the duplicated error message
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-07-22 00:00:17 -03:00
JenTing Hsiao
3da5e35c31 [ws-manager] enable the volume snapshot controller when the VolumeSnapshot CRD exists
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-28 16:53:37 +05:30
JenTing Hsiao
75a40258fd Add volume_snapshot_controller
Add volume_snapshot_controller to watch the VolumeSnapshot object.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-23 23:05:32 +05:30
JenTing Hsiao
9631a0b57b Remove deprecated function
The function grpc.WithInsecure() is deprecated, use
grpc.WithTransportCredentials(insecure.NewCredentials()) instead.

Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-06-15 13:07:24 +05:30
Aleksandar Aleksandrov
cdb1a33ed3 Configure grpc_server histogram metrics with proper buckets 2022-06-08 16:11:18 +05:30
Pavel Tumik
905be0afd1 address PR feedback 2022-05-25 13:17:39 +05:30
Pavel Tumik
88768f6e50 snapshot volume support 2022-05-25 13:17:39 +05:30
Christian Weichel
59c10c6e41 [ws-manager] Explicitely proxy image-builder 2022-05-10 16:02:25 +05:30
Christian Weichel
ff6c381c38 [ws-manager] Expose gRPC rate limiter metrics 2022-04-29 16:01:15 +05:30
Christian Weichel
4b48505356 [ws-manager] Proxy to image-builder 2022-04-19 21:47:32 +05:30
Manuel Alejandro de Brito Fontes
89105f8628 Update signatures due to k8s v1.23 changes 2022-03-03 18:46:10 +05:30
Manuel Alejandro de Brito Fontes
1eb8f86a7b Refactor GRPC TLS connection default 2021-10-12 16:09:59 -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
Christian Weichel
b5b5d537c1 [ws-manager] Add service config to API 2021-09-13 10:51:38 +05:30
Christian Weichel
7a7edbde1f [content-service] Move config to API 2021-09-13 10:51:38 +05:30
Christian Weichel
e5551dcd1b [ws-manager] Make config part of the API 2021-09-13 10:51:38 +05:30
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
Christian Weichel
60b9307c85 [ws-manager] Disallow unknown config fields 2021-07-26 10:22:29 +02:00
Gero Posmyk-Leinemann
8f0c24af66 [ws-manager, supervisor, bridge] Prebuild workspaces are done when their container stops 2021-07-08 09:27:34 +02:00
Manuel Alejandro de Brito Fontes
6ab9ee12a9 [registry-facade] Add client-side reconnection 2021-06-24 11:24:20 -04:00
Manuel Alejandro de Brito Fontes
15fbc9b5dc Use gitpod-io log package 2021-06-15 10:55:33 -04:00
Gero Posmyk-Leinemann
76475241bb [ws-: manager, registry-facade, scheduler, proxy] TLS support 2021-04-01 14:47:31 +02:00
Christian Weichel
2b5b6e7c86 [ws-manager] Remove all PLIS leftovers 2021-03-24 09:56:21 +01:00
Manuel Alejandro de Brito Fontes
53189d3fa6 [ws-manager] Lint code and cleanup protobuf 2021-03-16 07:35:57 -03:00
Christian Weichel
f45d4d70fe [ws-manager] Repair gRPC metrics 2021-03-04 17:50:58 +01:00
Manuel Alejandro de Brito Fontes
3b4ebc9bad Migrate deprecated methods from ioutil package 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
08774bd177 [ws-manager] Switch to controller-runtime abstraction 2021-03-01 14:00:58 -03:00
Manuel Alejandro de Brito Fontes
5186adfcc0
[ws-manager] Refactor notification signals (#3194)
[ws-manager] Refactor notification signals
2021-02-17 09:10:40 -03:00
Christian Weichel
227e6bd192 [ws-manager] Replace our own gRPC prom metrics with grpc_ecosystem
Fixes gitpod-io/gitpod#3090
2021-02-08 09:49:09 +01:00
Christian Weichel
0fd958c8da [ws-manager] Make compatible with Kubernetes v1.20.1 2021-01-11 15:25:05 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Christian Weichel
44e6aa820b [ws-manager] Add metrics for unary gRPC methods 2020-12-08 09:34:40 +01:00
Christian Weichel
86562cac2c [ws-manager] Support configurable gRPC rate limits 2020-12-08 09:34:40 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00