kopf
kopf copied to clipboard
A Python framework to write Kubernetes operators in just few lines of code.
## Background With `kopf>=0.9`, the operators fail to start in the clusters with RBAC configured according to the docs. Introduced by #38, where `GET` is used on a specific peering...
Code should be automatically linted on every push, as part of the building process. The coding guidelines should be some defaults of pylint, flake8, or both. One exception: * Line...
We are happy to know that you like Kopf, and can apply it in your work. We will be even more happy if you share with us how you use...
## Question I have been using `kopf.on.event('', 'v1', 'pods')` to listen to pods event and then I will do some operations to the events. However, the issue comes when network...
## Question Hi, First of all, thanks for writing this great framework and making it open for all. My apologies if I'm not using the right channel to ask questions....
## What do these changes do? As proposed in issue #319, this introduces an optional ``status_prefix`` boolean that can be added to any resource handler definition. If set to ``True``...
## Question I am trying to run the first example on EKS. The first example fails with Forbidden error when accessing the API server. I am not sure where kopf...
## Expected Behavior Kopf should actively receive all namespace events. ``` @kopf.on.event('', 'v1', 'namespaces') async def handle_event(event, **kwargs): logger = kwargs["logger"] logger.debug(f"Event: {event}. Cause: {kwargs.get('cause')}.") ``` ## Actual Behavior Kopf...
## Expected Behavior when watched resource is updated several times, all subhandlers must run for at least the latest state of the watched resource ## Actual Behavior some subhandlers are...
## Question After adding the health check to my Dockerfile, e.g. `kopf run --liveness=http://:8080/healthz main.py` I get the following error: ``` Root task 'health reporter' is failed: OSError(99, "error while...