Skip to content

A simple Python Helloworld application designed to demonstrate Kubernetes features.

Notifications You must be signed in to change notification settings

devops-experience/k8s-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes hello-world

This hello-world app has 2 endpoints:

  • '/' which displays an "Hello World!" message with the name of the pod it runs into and its current version. It also performs heavy computations every time it is accessed.
  • '/health' which provides a basic health check

Installation

This application is a Python app. It runs smoothly in Python 3.5 and Python 2.7. To run it, you will need to install its dependencies first:

pip install -r ./requirements.txt

Then you will be able to launch it:

python ./app.py

By default, the app listens on port 5000.

About

A simple Python Helloworld application designed to demonstrate Kubernetes features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages