Skip to content

bernaz7/hello-world-python

 
 

Repository files navigation

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

Example curl

curl -v -XPOST -H "Content-Type: application/json" -d @citylots.json 172.30.231.231:8000

License

Licensed under Apache 2.0. Please see LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smarty 77.0%
  • Python 17.9%
  • Dockerfile 5.1%