-
Notifications
You must be signed in to change notification settings - Fork 87
Use --standalone option in the readme of the examples #31
Comments
@psycho-ir Thanks for your feedback. I am glad that you like the idea of such a framework. I think, your suggestion totally makes sense. If your suggestion is to fix the the docs & If you want to change the framework behaviour, please take a look at #32 & #33 first — I have just written down some of my thoughts on this topic. The only thing that stops me from quickly implementing this, is the absence of tests. The framework has just recently left the proof-of-concept stage, and I cover it with the tests component-by-component, module-by-module (not fast enough, sorry). |
@psycho-ir I would say they are independent (unless there are some tricky details which I do not foresee). You can just keep the always-cluster-scoped concept for now, and implement the logic for the present/absent peering object. |
@psycho-ir Please, take a look at #36 & #37 — regarding the #32 (namespace isolation of the served objects and of the peering objects). Seems working as expected — I will double-check tomorrow, with fresh mind. You can send your implementation for #33 as is — I will rebase&resolve these two PRs later (they are less important than a working tutorial). |
Hi,
First of all thanks a lot for initiating this project, I think it will be a very useful project for the community.
So about the issue, I had some difficulties to run the examples as I didn't setup the peering before jumping to the examples.
Firstly I think it would be better to use
--standalone
parameter in the readme of the examples, so that users who haven't setup the peering yet won't get error in first run.Secondly I guess returning a more explicit error when the peering is not setup and referring to the relevant doc makes sense, I spent some time to debug the code and find the reason and fixed it. then I noticed it's documented here :D
https://kopf.readthedocs.io/en/latest/install/
wdyt? I woud be more than happy to contribute to it if you think these suggestions are sensible.
The text was updated successfully, but these errors were encountered: