2.4 KiB
| url |
|---|
| /docs/self-hosted/latest/install/install-on-kubernetes/ |
Install Gitpod Self-Hosted on Kubernetes
This section describes how to install Gitpod on any Kubernetes cluster. Gitpod also provides more optimized installations offering better performance for particular cloud providers:
- Google Cloud Platform: Install Gitpod in a blank GCP project using a script that automates the procedure.
- AWS: Install Gitpod on AWS using a script that automates the procedure.
Prerequisites
Note: Kubernetes version 1.15 <= x <= 1.17 is supported
Note: Gitpod should work on smaller nodes out of the box (2vCPUs, 8GB RAM). For a solid experience we recommend at least 4vCPUs and 16GB RAM for workspaces nodes.
Gitpod is installed using Helm. The source of the chart can be found here. Releases are published at https://charts.gitpod.io.
Installation
To initiate the deployment run the following commands:
helm repo add gitpod.io https://charts.gitpod.io
helm install gitpod gitpod.io/gitpod
Review the deployment worked properly by running
kubectl get pods. Eventually all pods should be up-and-running. In case they are not have a look the the Troubleshooting Guide
- Configure ingress into the cluster.
It makes sense to create a new folder for all Gitpod specific custom configuration and files:
mkdir gitpod && cd gitpod - Go to https://<your-domain.com> and follow the steps to complete the installation.
Recommended Configuration
Without further configuration the Helm chart installs a working Gitpod installation in a lot of scenarios. Yet, there are certain things you might want to review when installing Gitpod for long term use and/or a bigger audience:
- Database: Configure where Gitpod stores all internal runtime data.
- Storage: Configure where Gitpod persists workspace content.
- Docker Registry: Configure where Gitpod stores workspace images that are build at runtime.
Customization
Further customizations:
- Kubernetes Nodes: Configure file system layout and the workspace's node associativity.
- Workspaces: Configure workspace sizing.