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 45141c3506 kopf example 1 week ago
..
tests some examples 1 week ago
Dockerfile some examples 1 week ago
Makefile some examples 1 week ago
README.md some examples 1 week ago
deployment-with-prestop.yaml kopf example 1 week ago
deployment.yaml writing a simple controller 1 week ago
poetry.lock some examples 1 week ago
pyproject.toml some examples 1 week ago
web.py some examples 1 week 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.