Deployment of Django Web-app on kubernetes

Subrat YadavSubrat Yadav
1 min read

To practice the things I learned till now, I took on the small task to create the pod of Django Notes-app. For it I had to use the following the concepts :

  • Pods

  • Deployment

  • Replicaset

  • Services

Well you don’t actually need the pod & replicaset because the deployment will create them for you but I just mentioned it.

What I did to achieve this :-

  1. Setup a Minikube cluster

  2. Created a deployment.yaml file using the kubernaties documentation and with the docker image uploaded at the Dockerhub

  3. Created the service.yaml so that the deployment pods can be exposed

  4. Boom the application is live

That was a checkpoint which I achieved, Thank you for reading any tips will be appreciated.

0
Subscribe to my newsletter

Read articles from Subrat Yadav directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Subrat Yadav
Subrat Yadav