From c034f7bf25045983e9785f88b48ebb17f30a9f8d Mon Sep 17 00:00:00 2001 From: Sergey Vasilyev Date: Sat, 15 Jun 2024 18:27:17 +0200 Subject: [PATCH 1/2] Remove the warning from vision.rst --- docs/vision.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/vision.rst b/docs/vision.rst index e01b2a59..e8b014a9 100644 --- a/docs/vision.rst +++ b/docs/vision.rst @@ -33,11 +33,3 @@ a mapping of Python classes to Kubernetes resources .. _Occam's Razor: https://en.wikipedia.org/wiki/Occam%27s_razor .. _KISS: https://en.wikipedia.org/wiki/KISS_principle - -However, it brings its own vision on how to write operators and controllers, which is not always in line with the agreed best practices of the Kubernetes world, sometimes the opposite of those. Here is the indicative publicly available summary: - -> Please do not use Kopf, it is a nightmare of controller bad practices and some of its implicit behaviors will annihilate your API server. The individual handler approach it encourages is the exact opposite of how you should write a Kubernetes controller. Like fundamentally it teaches you the exact opposite mindset you should be in. Using Kopf legitimately has taken years off my life and it took down our clusters several times because of poor code practices on our side and sh***y defaults on its end. We have undergone the herculean effort to move all our controllers to pure golang and the result has been a much more stable ecosystem. /Jmc_da_boss__/ - -__ https://www.reddit.com/r/kubernetes/comments/1dge5qk/comment/l8qbbll/ - -Think twice before you step into this territory ;-) From 12d71119eb03816589ae02d2d95d79b3be8a9f3f Mon Sep 17 00:00:00 2001 From: Sergey Vasilyev Date: Sat, 15 Jun 2024 18:35:52 +0200 Subject: [PATCH 2/2] Put a warning on the frond docs page --- docs/index.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 3e0180f8..ae07f42f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,6 +1,14 @@ Kopf: Kubernetes Operators Framework ==================================== + Please do not use Kopf, it is a nightmare of controller bad practices and some of its implicit behaviors will annihilate your API server. The individual handler approach it encourages is the exact opposite of how you should write a Kubernetes controller. Like fundamentally it teaches you the exact opposite mindset you should be in. Using Kopf legitimately has taken years off my life and it took down our clusters several times because of poor code practices on our side and sh***y defaults on its end. We have undergone the herculean effort to move all our controllers to pure golang and the result has been a much more stable ecosystem. /Jmc_da_boss__/ + +__ https://www.reddit.com/r/kubernetes/comments/1dge5qk/comment/l8qbbll/ + +Think twice before you step into this territory. You were warned! + +And now, after this honest and so far the best summarizing and publicly available feedback, comes the Dark Side (with cookies) 😈 + .. toctree:: :maxdepth: 2 :caption: First steps: