Kubernetes + Python = ❤
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Henning Jacobs d4be1c31f1 flake8 2 years ago
..
tests some examples 2 years ago
Dockerfile some examples 2 years ago
Makefile some examples 2 years ago
README.md some examples 2 years ago
deployment-with-prestop.yaml kopf example 2 years ago
deployment.yaml writing a simple controller 2 years ago
poetry.lock some examples 2 years ago
pyproject.toml some examples 2 years ago
web.py some examples 2 years ago

README.md

aiohttp hello world

This example demonstrates a very basic aiohttp web server (web.py) which returns "Hello, world" on its server route. There is only one test (tests/test_web.py) which ensures that the web server returns the expected string.

Run make test to build the Docker image and run the test.

One test run (including cluster creation and teardown) takes approx. 82 seconds.