Deployment of Django Web-app on kubernetes


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 :-
Setup a Minikube cluster
Created a deployment.yaml file using the kubernaties documentation and with the docker image uploaded at the Dockerhub
Created the service.yaml so that the deployment pods can be exposed
Boom the application is live
That was a checkpoint which I achieved, Thank you for reading any tips will be appreciated.
Subscribe to my newsletter
Read articles from Subrat Yadav directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
