Skip to content

Auto-DL/k8s-deployment

Repository files navigation

k8s-deployment

Kubernetes

Contributions welcome Slack Contributor Covenant

Kubernetes configuration for deployment of Auto-DL.

How to deploy

  1. Configure the variables in configmap.yaml
  2. Create a secrets file in k8s/ with following contents
MONGODB_URI=YOUR_MONGODB_CONNECTION_STRING
JWT_SECRET=YOUR_JWT_SECRET
  1. Apply all the yaml configuration using kubectl
cd k8s/
kubectl apply -f configmap.yaml
kubectl create secret generic autodl-secret --from-env-file=secrets
kubectl apply -f backend-deployment.yaml
kubectl apply -f backend-service.yaml
kubectl apply -f frontend-deployment.yaml
kubectl apply -f frontnend-service.yaml
kubectl apply -f ingress.yaml
  1. Check the status of the pods and services running pods running services
  2. You have a working Auto-DL deployment 🎉

Note: Install kubeval to run the pre-commit hooks for validating the k8s yaml configuration.

About

Kubernetes configuration for deployment of Auto-DL

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published