stenakestrid/hello-sten

By stenakestrid

Updated about 2 months ago

A Hello World example in Python and Flask used by me to learn about Kubernetes.

Helm
Image
0

5.1K

stenakestrid/hello-sten repository overview

Use by Others

This is a project solely used for learning Kubernetes, using Helm, and integrating it with CI/CD pipelines (both GitLab and Jenkins). The Flask application is just something for there to be something at all. As such, the project might deviate from best practices and should not be used by others.

The git repository for the project, with the main app, Helm Chart, and Dockerfiles can be found here: https://gitlab.com/StenAkeStrid/hello-sten

Helm Chart

Contains the main Helm Chart for hello-sten tagged with a semver-formatted version <x.y.z>. The repository also contains the images used by the Helm Chart.

Values that need to be set when installing the chart:

  • appVersion="<x.y.z>"
  • image.tag="<x.y.z-debian or x.y.z-alpine>"
  • image.imagePullSecret.password="<HELM_PASSWORD>"
  • nginx.assets.tag="<x.y.z-assets>"

It uses the namespace secure-default.

Docker Images

The main application is a hello world type of application written in Python/Flask and served by Gunicorn. Use the image <x.y.z-debian> or alternatively <x.y.z-alpine>. Static files for the main application is served by nginx (in production), using an image volume called <x.y.z-assets>. The Docker images have both a development and a production target, but only production versions are hosted in this repository.

Tag summary

Content type

Image

Digest

sha256:b20b89a6b

Size

57.4 MB

Last updated

about 2 months ago

docker pull stenakestrid/hello-sten:1.0.1-debian