nolar / kopf

A Python framework to write Kubernetes operators in just a few lines of code

Home Page:https://kopf.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automating Kopf Operator Code Updates: Seeking a Convenient Solution to Avoid Tedious Run Commands

skandarchahbouni opened this issue · comments

Keywords

No response

Problem

Hello, I am new to Kopf. I have a simple question: each time I make changes to my operator code, I have to run the Kopf run command again, which is very tedious. Is there a flag to add that automatically detects the changes in the operator?

Hello. Kopf does not do that, but you can use any other utility that restarts the script when the underlying files change — e.g. watchdog/watchmedo, or anything specific to your dev environment.