Skip to content

iamnytik/flask-mongo-express-mongodb

Repository files navigation

Introduction

This is a Flask Blogging Application designed with Microservices Architecture and deployed using Kubernetes & Docker.

Requirements

  1. Docker
  2. Minikube
  3. Kubernetes

How To Run

minikube stop

minikube delete

minikube start

#source ~/.bashrc

eval $(minikube -p minikube docker-env) #linux

minikube docker-env | Invoke-Expression #powershell

kubectl apply -f configmap.yaml

kubectl apply -f secret.yaml

kubectl apply -f services.yaml

docker build -t flask-app-image -f flask-app-image.dockerfile .

kubectl apply -f deployments.yaml

minikube service flask-service

image

image

About

This is a Project solution for a cloud computing course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published