/Flask_with-kubernetes

Deploy a Flask docker image to Kubernetes service

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Deploy Flask app with Kubernetes

  • At first, install minikube and kubectl in your local machine.
  • Run ./create_secret.sh to create a secret for the app.
  • Run kubectl apply -f deployment-service.yaml to deploy the app to minikube cluster.
  • Lastly, run kubectl delete -f deployment-service.yaml && ./delete-secret.sh to destroy the app.