Skip to content

This is a dummy project using flask and an python app calculating fibonacci series

Notifications You must be signed in to change notification settings

vpapage/fibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fibonacci

This is a dummy project using flask and an python app calculating fibonacci series

TODO

python fibonacci.py
GO TO: 127.0.0.1:5000

docker build -t vaspapts/fibonacci:new-flask .
docker login
docker push vaspapts/fibonacci:new-flask
docker build -t vaspapts/fibonacci:new-flask .

# run a Docker container using the created Docker image
docker run -p 5000:5000 vaspapts/fibonacci:new-flask

# DEPLOY
kubectl apply -f deployment.yaml
kubectl get deployment
kubectl get svc
kubectl service fib-service  # Μελετάς το svc
kubectl apply -f ingress.yaml
kubectl get ingress

# Set up DNS or hosts file
<Ingress-IP>  my-flask-app.example.com

About

This is a dummy project using flask and an python app calculating fibonacci series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published