Skip to content

sample Python/flask application for Kubernetes for Developers

License

Notifications You must be signed in to change notification settings

tws-graduate-program/kfd-flask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kfd-flask

A sample (and simple) Python/flask application for Kubernetes for Developers

Running

python exampleapp.py

Parameters

python exampleapp.py [version]

  • version
    • v1, default.
    • v2

Configuration

By default, will workdir ./feature.flags as configuration file, you can also use CONFIG_FILE environment to overwrite path.

Example config:

[features]
greeting=hello
debug=True
db=redis-service
db_pass=

to rebuild all the images

(this may need to be done to resolve any underlying image issues, such as security updates or vulnerabilities found and resolved in Alpine)

The container images associated with this repo are available for review at https://quay.io/repository/kubernetes-for-developers/flask?tab=tags

git checkout 0.1.1
docker build -t quay.io/kubernetes-for-developers/flask:0.1.1 .
git checkout 0.2.0
docker build -t quay.io/kubernetes-for-developers/flask:0.2.0 .
git checkout 0.3.0
docker build -t quay.io/kubernetes-for-developers/flask:0.3.0 .
git checkout 0.4.0
docker build -t quay.io/kubernetes-for-developers/flask:0.4.0 .
git checkout 0.5.0
docker build -t quay.io/kubernetes-for-developers/flask:0.5.0 .
git checkout 0.6.0
docker build -t quay.io/kubernetes-for-developers/flask:0.6.0 .
git checkout 0.7.0
docker build -t quay.io/kubernetes-for-developers/flask:0.7.0 .
git checkout master
docker build -t quay.io/kubernetes-for-developers/flask:latest .
docker push quay.io/kubernetes-for-developers/flask

About

sample Python/flask application for Kubernetes for Developers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 94.1%
  • Dockerfile 3.9%
  • HTML 2.0%