332 Commits

Author SHA1 Message Date
Pudong Zheng
865dffa881 [supervisor] close connection after call api 2022-09-13 16:44:14 +02:00
Pavel Tumik @ GitPod
ef92c82ce6 [pvc] fix prebuilds when using pvc 2022-09-12 20:12:14 +02:00
Anton Kosyakov
c84824a289 [supervisor] bucket per each Gb for memory analytics 2022-09-08 08:40:23 +02:00
mustard
16b4064084 [supervisor] add 7,8 bucket for cpu perf analytics 2022-09-08 08:04:22 +02:00
Anton Kosyakov
4425cc687c [supervisor] track cpu/memory buckets 2022-09-07 09:17:22 +02:00
Siddhant Khare
59e89b215a fix: Round of the elapsedMinutes of prebuilds 2022-09-01 11:46:16 +02:00
Pavel Tumik @ GitPod
7aa2d43d6e [supervisor] do not change ready file to /.workspace folder 2022-08-31 01:33:15 +02:00
mustard
95fa4439e5 [gp-cli] provide workspace class info in top command 2022-08-30 10:25:14 +02:00
Pudong Zheng
1a65e69f0d [supervisor] use hard code HOME dir 2022-08-30 08:43:14 +02:00
JenTing Hsiao
fab72bcb85 Revert "[supervisor] fix chown of /workspace when using PVC"
This reverts commit 370ba5eb9277883ac160429a1f7710529b412dfa.
2022-08-26 14:35:11 +02:00
Pavel Tumik @ GitPod
370ba5eb92 [supervisor] fix chown of /workspace when using PVC 2022-08-20 01:16:36 +02:00
Pavel Tumik @ GitPod
2ee278e7d4 [supervisor] add some additional log to help with content init 2022-08-20 01:16:36 +02:00
Andrea Falzetti
131aa358ad feat(supervisor): add resource status severity 2022-08-17 13:35:33 +02:00
Andrea Falzetti
47c64d4763 feat(supervisor): add top service 2022-08-16 15:50:33 +02:00
Anton Kosyakov
01487c9a61 [supervisor] fix gitpod config changed analytics 2022-08-09 09:54:53 -03:00
Manuel Alejandro de Brito Fontes
797f440c7c Simplify configuration of git setting safe.directory 2022-07-19 17:23:14 +02:00
Manuel Alejandro de Brito Fontes
c752a16b46 [supervisor] Refactor content-init error handling 2022-07-15 02:57:01 +02:00
Pudong Zheng
c8ce7b181f [supervisor] fix metrics 2022-07-13 06:15:59 +02:00
Pavel Tumik
3005ea04b7 fix unhelpful log messages 2022-07-13 04:06:59 +02:00
Jean Pierre
83c4601790 Wait for content ready before launching IDE 2022-07-08 02:28:55 +05:30
Manuel Alejandro de Brito Fontes
33cfab9c73 [supervisor] Remove signal terminated log 2022-07-05 11:59:52 +05:30
Manuel Alejandro de Brito Fontes
65384dbc13 [supervisor] Check if git repository is shallow before running --unshallow 2022-06-29 10:03:37 +05:30
Manuel Alejandro de Brito Fontes
6ee9b23ed4 [supervisor] Remove common warnings 2022-06-29 09:21:37 +05:30
Thomas Schubart
637f360b70 [supervisor] Use workspace info 2022-06-28 22:45:37 +05:30
Manuel Alejandro de Brito Fontes
043e3c014d [supervisor] Remove noise log and refactor error handling 2022-06-24 22:12:33 +05:30
mustard
05c395109c [supervisor] enabled SSH debug log by default 2022-06-23 20:23:32 +05:30
Christian Weichel
ae7f3fd8c0 [supervisor] Make compatible with run-gp 2022-06-21 19:35:30 +05:30
mustard
47a0941f21 [supervisor] welcome message for ssh conn 2022-06-21 16:07:30 +05:30
mustard
aae154bf2e [supervisor] change default directory of ssh 2022-06-21 16:07:30 +05:30
mustard
dbda2c1b9b [supervisor] remove sshd debug mode 2022-06-21 16:07:30 +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
Jean Pierre
1dfc504de6 Use xterm-256color when creating terminal 2022-06-13 10:01:22 +05:30
Pavel Tumik
12a6979834 [supervisor] improve error message around user group and uid 2022-06-02 06:54:51 +05:30
mustard
308601ad59 Fix port name and desc missed for ranges ports 2022-05-25 18:05:39 +05:30
mustard
53c9935d37 Add comment for port ranges 2022-05-24 13:25:38 +05:30
mustard
37a1d8ea27 Fix supervisor send empty port name and desc 2022-05-24 12:59:38 +05:30
mustard
4e68dcba05 Terminate IDEs gracefully on workspace shutdown 2022-05-20 17:34:34 +05:30
Anton Kosyakov
52e422189c [supervisor] fix #9521: add resources endpoint respecting cgroup v1 2022-05-18 13:06:32 +05:30
Pudong Zheng
d9506567ed Remove supervisor gRPC metrics and process metrics 2022-05-17 20:30:32 +05:30
Sven Efftinge
d8f51d3cf0 [supervisor] inflate all git repos
fixes [multi-repo] Shallow clones are not inflated #9021
2022-05-13 15:01:28 +05:30
Pudong Zheng
801ac5f52e Add metrics push gateway for supervisor 2022-05-10 19:06:25 +05:30
Pavel Tumik
301190db53 Add persistent volume support for workspaces
fix
2022-05-04 03:08:19 +05:30
Manuel Alejandro de Brito Fontes
2037329dfd [supervisor] Improve IDE readiness probe 2022-05-03 18:12:19 +05:30
utam0k
0d57f4abe3 supervisor: Remove slirp4netns 2022-04-29 22:45:15 +05:30
Victor Nogueira
d2e355510d Display the Gitpod Task ID instead of the Working Directory of the running task
To avoid confusion when more than two tasks are running in the same directory and haven't been named on .gitpod.yml.
2022-04-28 20:33:14 +05:30
Manuel Alejandro de Brito Fontes
42783dc21f [supervisor] Do not report error when the process is terminated 2022-04-27 09:15:13 +05:30
Anton Kosyakov
5d57819830 [supervisor] prevent slow clients to stale tasks in headless workspaces 2022-04-15 12:10:28 +05:30
Anton Kosyakov
5bdf47767e Revert "ws-daemon: Use a pair of veths instead of slirp4netns"
This reverts commit 4fef102695684ad3e98ed90c7f368d79aa1e304d.
2022-04-08 18:19:21 +05:30
utam0k
4fef102695 ws-daemon: Use a pair of veths instead of slirp4netns
Pod Network Namespace(ring1)
+------------------------------------------------+
|                                                |
|       Workspace Network Namesapce(ring2)       |
| +--------------------------------------------+ |
| |                                            | |
| |              default via veth0             | |
| |                                            | |
| |                                            | |
| |     +------+  +--------------+             | |
| |     |  lo  |  |    ceth0     | 10.0.2.2/24 | |
| |     +------+  +--^--------+--+             | |
| |                  |        |                | |
| +------------------+--------+----------------+ |
|                    |        |                  |
|                 +--+--------v--+               |
|   +-----------> |    veth0     | 10.0.2.1/24   |
|   |             +-----------+--+               |
|   |                         |                  |
|   |          +--------------v-----+            |
|   |          |                    |            |
|   |          |      nftables      |            |
|   |          |   (ip masquerade)  |            |
|   |          +--------------+-----+            |
|   |                         |                  |
|   |   +------+  +-----------v--+               |
|   |   |  lo  |  |     eth0     |               |
|   |   +------+  +--^--------+--+               |
|   |                |        |                  |
|   |          +-----+--------v-----+            |
|   |          |                    |            |
|   +----------+      nftables      |            |
| if with port | (port redirecter)  |            |
|              +-----^--------+-----+            |
|                    |        |                  |
+--------------------+--------+------------------+
                     |        |
                     |        |
                     |        v
                    o u t s i d e
2022-04-08 13:41:21 +05:30
mustard
fc8c0c76a7 [supervisor] remove supervisor_readiness for headless workspaces 2022-04-06 21:48:20 +05:30