Deploy your application on Kubernetes. Add your manifest/s to your GitHub Repo in a folder named kubernetes-manifests. Your containers must all be pulled from DockerHub. The Readme must be clear on the deployment process (from image building to creating cluster services). It must include the following components:
-
The application and any dependencies (e.g. databases, frontend backend, etc).
-
Pods
-
Services
-
Ingress (no load balancer service for A)
-
Autoscaling (does not need to be instance-level)
-
Storage Persistence (if using DB)
-
Make sure node is installed on your machine. If not, install it from here
-
Install the dependencies by running
npm install
-
Rename the
.env.example
file to.env
-
Create a pod for the application by running
kubectl apply -f kubernetes-manifests/deployment.yaml
-
Create a service for the application by running
kubectl apply -f kubernetes-manifests/service.yaml