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