Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 787 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 787 Bytes

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.