/hello-world-python

Primary LanguagePythonApache License 2.0Apache-2.0

Hello, World (Python/Flask)

This is a Python/Flask template for building a microservice in Kubernetes and Docker. This template is designed for use with Forge, Telepresence, and Ambassador.

Repository structure

The main files in this repository are:

  • Dockerfile specifies how the application is built and packaged
  • k8s/deployment.yaml contains a templated Kubernetes manifest, with additional annotations for configuring Ambassador
  • service.yaml contains values (typically configured by a developer) that will be instantiated into the Kubernetes manifest
  • app.py is the actual Python/Flask application

License

Licensed under Apache 2.0. Please see LICENSE for details.