-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
proposal: revamp examples #487
Comments
Sure, I can help. BTW it's not easy to execute tests under CI pipeline. It'll require to spin up minkube or something similar. |
Hi @tomplus, great ! As of now I thought we could move along several axis:
What do you think ? Other ideas ? If you want to work on any of the above let me know ciao ! |
To be honest I prefer scripts rather than notebooks. Scripts can be easily adopted to my code, I can play with them without installing other tools, I can write my own script using an example as a base script etc. On the other hand, notebooks are more explanatory and work great as tutorials (I like your idea to porting k8s tutorials). Definitely all examples should work and some of them can be tested in CI. I wasn't aware that current Travis runs e2e tests with script/kube-init.sh - it's nice. |
I understand your point, and after all I also prefer my IDE rather than the web based jupyter :P Anyway, I'd like to use notebook because that:
So why choose a single "source" format ? Basically I don't want any effort to be wasted because scattering, at the moment we have a cartesian product of:
we also have a Markdown example ! And they're all good, and precious to a noob like me because examples -> people inclusion, so I'd like to try to consolidate a single source of awesomeness without letting anyone behind :) What do you think ? I think there's plenty of space for doing something genuine and neat :) |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi, being a beginner in using this client, I'd like more working examples as they are of invaluable value. Unfortunately this is not the case at the moment because various issues:
spec = client.V1PodSpec()
in examples/notebooks/create_configmap.ipynb raise aValueError
)load_kube
vsload_cluster
)This in my opinion steeps up learning curve or at least does not help new users (as I also am) as it could.
What I'm proposing is:
jupyter nbconvert
so we dev on notebooks but we don't give up on distributing plain scriptsjupyter nbconvert --execute
What do you think? I saw good efforts from other users too (ping @djkonro, @tomplus), could we maybe coordinate on this one?
Thanks in advance, regards!
The text was updated successfully, but these errors were encountered: