Follow this article to deploy an Amplication server to a Kubernetes cluster using Helm.
The article focuses on deployment on a local server for testing and development purposes, but the same method can be implemented for a production environment.
Before you start you need to install the following.
- Kubernetes Cluster (We will be using the Docker Desktop K8s implementation)
Below we will go through each install step individually.
There are a few ways to install a Kubernetes cluster locally, in our example we'll be using Docker's Kubernetes Plugin (Docker Desktop). However there are a few other Open Source alternatives (e.g. Kind and Minikube), if you prefer to install a different K8s cluster, you can reference the list here here.
After you've finished installing Docker Desktop you can now enable the Kubernetes Plugin by going to the Kubernetes tab in the Docker Desktop settings page and check Enable Kubernetes
You will also need Helm and Kubectl installed.
Open the terminal and Pull down Amplication then go to
git clone https://github.com/amplication/amplication.git
The amplication chart is shipped with a set of defaults that should get you running without any additional configuration. Run this command
Amplication Helm chart includes:
- bitnami/postgresql server
- Migration job for Amplication server.
- A Docker Registry and Docker builder using https://hub.docker.com/_/docker, and a volume for the registry (docker image storage).
- The Amplication server and a volume for
- The amplication scheduler
You can monitor the whole list of resources by running the following:
The final step is port-forwarding the amplication-app port to your localhost so you can access it on a browser client.
Now you can access amplication locally on your browser at