We have clarified our Privacy Statement even further. Please have a look at our changes.
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 2 months ago
..
tests some examples 2 months ago
Dockerfile some examples 2 months ago
Makefile some examples 2 months ago
README.md some examples 2 months ago
deployment-with-prestop.yaml kopf example 2 months ago
deployment.yaml writing a simple controller 2 months ago
poetry.lock some examples 2 months ago
pyproject.toml some examples 2 months ago
web.py some examples 2 months 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.