|
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>
|