Sergey Vasilyev

Results 260 comments of Sergey Vasilyev

Thanks for clarifying. Indeed, memos are a good tool for this. Perhaps, you want to never run any scripts in the update handlers, but only set a flag there. And...

Thanks for reporting it with a fully reproducible code snippet! Indeed, it is a bug. And it is reproducible in the main branch too, despite the changes (they do not...

@paxbit Semantically, the cleanup happens when the operator exits for any reason, so yes, it is the correct way. But keep in mind, that the cleanup handler is not guaranteed...

@sajuptpm Can you please tell me the version of Kopf in this case? Generally (regardless of the version), it looks like there was a cluster-scoped peering detected (`kind: ClusterKopfPeering`, `metadata.name:...

By the way, it is not (yet) documented, but I have observed that operators running in containers defined as `CMD kopf run ...`, run not as PID 1 — they...

Right, it will try to reconnect. See the `infinite_stream()`/`continuous_stream()` functions, and this code fragment which makes some errors into "okayish" disconnecting reasons: https://github.com/nolar/kopf/blob/1.31rc3/kopf/clients/watching.py#L262-L263 — mostly targeting the cases of server-side...

Hello. No, there is no such thing as handlers for handlers. But you can replace the "out-of-the-box" `timeout=` with your own implementation: * https://kopf.readthedocs.io/en/stable/kwargs/#retrying-and-timing ```python import kopf, datetime, contextlib @kopf.on.update("my_api_group",...

Indeed. Thanks for reporting. --- **A side-note for self:** Probably caused by this line: https://github.com/nolar/kopf/blob/release/0.28/kopf/reactor/daemons.py#L340 — intended to prevent respawns if the coroutine exits on its own accord (reason ==...

Explained here: https://github.com/EnricoMi/publish-unit-test-result-action#support-fork-repositories There is a special setup required for this action to work with forks. Since I don't use these results (but rather check the logs), it is easier...

Hello. Long story short, I cannot answer that. My assumption would be that Kopf-based operators, so as non-Kopf-based operators, are simply API clients. They do not sneak into API servers'...