272 Commits

Author SHA1 Message Date
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
Cornelius A. Ludmann
fc769d8268 [dev] Add yq v4.23.1 as yq4 binary in dev image 2022-04-05 15:03:18 +05:30
mustard
464df6adf3 [supervisor] add sudo permission to custom images 2022-03-23 21:40:08 +05:30
mustard
c6cc1ab0fb [supervisor] add readiness track 2022-03-01 23:16:09 +05:30
Thomas Schubart
d98d7abfe5 Remove logging 2022-02-28 06:00:07 +05:30
Thomas Schubart
07da916852 Log env args 2022-02-28 06:00:07 +05:30
Anton Kosyakov
0b6c4273bb [supervisor]: add ide-dekstop-ready phase to status_rendered analyitcs event
To track whether a user seen loading screen after configuring desktop IDE.
2022-02-25 16:51:05 +05:30
Pudong Zheng
234d579156 Fix PREVENT_METADATA_ACCESS is not effect 2022-02-25 13:17:04 +05:30
Pudong Zheng
26e277768f Fix dotfiles permission 2022-02-18 09:56:58 +01:00
Christian Weichel
70e1da29cf [supervisor] Fix dotfile installation 2022-02-17 16:05:57 +01:00
Pudong Zheng
ce70183fe2 [supervisor] remove unneed "no child process" check 2022-02-17 09:14:57 +01:00