Docker and Kubernetes

Docker gif
Docker 1
Docker 2

Project information

  • Category: DevOps
  • Project Tools: DockerHub, Minikube, Kubernetes
  • Project date: December, 2022
  • Project URL: GitHub Repository

Project description

The aim of this project is to work with docker and Kubernetes. Here, we containerize a simple project using docker, then we deploy it on a kubernetes server. The steps are mentioned below:

  • 1) Upload the docker image, with curl command, into the docker hub.
  • 2) Develope a server to store the price of cryptocurrencies and return them if asked. Here we use persistent cache redis to prevent sending additional requests.
  • 3) Use Minikube to simply run the kubernetes cluster on our system. Here, we nedd ConfigMap, Deployment, and Service files for both our server and redis database. Redis database needs two more files, Persistent Volume and Persistent Volume Claim, to store data.
  • 4) We test the accuracy of our system. Fisrt, we run the image of fisrt step on Minikube using the "run kubectl" command. Then, we send a request to our server.