summaryrefslogtreecommitdiffstats
path: root/recipes-demo/helloworld-flask/helloworld-flask_0.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* demo: add flask and k3s deployment filesBruce Ashfield2021-12-131-0/+44
To enable demonstrations of application container builds, and deployment to k*s clusters, we introduce a simple recipes-demo/ structure with a sample flask application and deployment yaml. i.e. ensure that "helloworld-flask-deploy" is installed on your image, and then: % kubectl apply -f /etc/flask-app.yaml % kubectl label pods zeddii-pod new-label=yoctorule % kubectl expose pod zeddii-pod --port=9000 --target-port=9000 --type=LoadBalancer --name=my-service Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>