diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-11-25 11:53:13 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-12-13 15:59:11 -0500 |
commit | 6fe326b68012b0eae5c951ab21d55b0ccfda84f9 (patch) | |
tree | 5cb8e259e11ba99296fcbc8e46d979e6ba101597 /classes/qemuboot-testimage-network.bbclass | |
parent | fc5fdd79e082e69f3e0c145412516314fbf00f0b (diff) | |
download | meta-virtualization-6fe326b68012b0eae5c951ab21d55b0ccfda84f9.tar.gz |
demo: add flask and k3s deployment files
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>
Diffstat (limited to 'classes/qemuboot-testimage-network.bbclass')
0 files changed, 0 insertions, 0 deletions