Kubernetes
We provide an installation script that will help you configure Appsmith & deploy your app on a Kubernetes cluster

Prerequisites

Script tested on Minikube with Kubernetes v1.18.0

Deployment Steps

Fetch the install.k8s.sh script on the system you want to deploy appsmith
1
# Downloads install.sh
2
curl -O https://raw.githubusercontent.com/appsmithorg/appsmith/master/deploy/k8s/install.k8s.sh
Copied!
Make the script executable
1
chmod +x install.k8s.sh
Copied!
Run the script.
1
./install.k8s.sh
Copied!
Check if all the pods are running correctly.
1
kubectl get pods
2
3
#Output should look like this
4
NAME READY STATUS RESTARTS AGE
5
appsmith-editor-cbf5956c4-2zxlz 1/1 Running 0 4m26s
6
appsmith-internal-server-d5d555dbc-qddmb. 1/1 Running 2 4m22s
7
imago-1602817200-g28b2 1/1 Running 0 4m39s
8
mongo-statefulset-0 1/1 Running 0 4m13s
9
redis-statefulset-0 1/1 Running 0 4m00s
Copied!
You can access the running application on the Ingress Endpoint if you did not choose to provide a custom domain for your application.
1
kubectl get ingress
2
NAME CLASS HOSTS ADDRESS PORTS AGE
3
appsmith-ingress <none> * XXX.XXX.XX.XXX 80 2m
Copied!
You may need to wait 2-3 minutes before accessing the application to allow the server to come up

Troubleshooting

If you encounter any errors during this process, check out our guide on debugging deployment errors, if you are still facing an issue please reach out to [email protected] or join our Discord Server to directly speak to the appsmith team!

Further Reading

Last modified 16d ago