tailnet
. At Gitpod we are big fans of their product and recently announced an official partnership with them.
Integration
Using Tailscale ssh to a workspace is not supported right now and from requires Tailscale 1.32 or later. If your workspace image was created before 1.32 was available you can force a rebuild without having to update your
.gitpod.Dockerfile
.- Install
tailscale
through a custom.gitpod.Dockerfile
by adding the following layer to it.
- Start
tailscale
on workspace start and maintain the machine state across workspaces by adding the following tasks to your.gitpod.yml
.
.gitpod.yml
gitpod-{user-name}-{repo-name}
. On first workspace start you will get asked to login through the terminal. When this was successful a Tailscale machine state will be stored in your Gitpod’s account. On subsequent starts of workspaces on this project this machine state will be restored.
IF you enable Tailscale’s Magic DNS you get a stable domain for your project’s services that you can reach from any other Tailscale node (e.g. another workspace or your local machine).
Be aware that starting and connecting multiple workspaces for the same project in parallel results in unreliable network connections.