-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Katacoda Scenario(?) for a brand new developer - basic tutorial #5576
Comments
|
/sig contributor-experience |
|
Idea thanks to conversations with @soniasingla @LappleApple @Darshnadas |
|
/area new-contributor-track |
|
hey @mrbobbytables @jberkus @alisondy! Want to collaborate on this with me? It would be a great addition to our developer community! I have some experience in creating Katacoda tutorials. https://katacoda.com/thanos/courses/thanos/2-lts I created this last summer, it came out to be really helpful :) |
|
I think this is great @dims and would be useful for the community! |
|
I did a quick test of trying to build kubernetes, but unfortunately the instance just dies when doing so. I don't think katacoda can cope with our build requirements:
If you want to try, I just went with vanilla instance and went through the dev procedure here to install our reqs and Then ran |
|
@mrbobbytables
that should give us a decent start. |
|
cc @BenHall |
|
@mrbobbytables thanks for the info. We do limit our free tier but the platform supports much larger instances. I will try in one of our large environments and see what happens. |
|
@BenHall Thanks! Are the instance types/resource allocations documented anywhere? I was trying to find it earlier, but didn't have any luck^^;; |
|
re: kind, LMK if there's any issues 🙃 |
|
@mrbobbytables @dims I took a look today. With slightly CPU and Memory (8 cores, 8Gb) everything looked to build successfully within an environment, even I ran Anything failing due to Katacoda? |
|
@BenHall thanks! i see 2 failures, please log an issue about them so we don't forget. i think this is fine, you don't have to dig into it yet. we are reworking a bunch of stuff (rip bazel, bump to golang 1.16) so i'd expect some hiccups right now. @BenHall can you please check if this works? documented here : https://github.com/kubernetes-sigs/kind/blob/master/README.md#L87 a really stretch goal would be this: |
|
@dims Looks like the node-image can build. It took 5mins, not sure what the normal time is. Create Cluster however failed The healthcheck appears to timeout after a while. |
|
If we're building Kubernetes sources at HEAD we need kind installed from HEAD. Kubeadm made a breaking change in Kubernetes 1.21 (unreleased) which kind at HEAD handles. Edit: basically the kind sources must be roughly as new as the Kubernetes sources sometimes because we can't always predict and pre-mitigate these [Action Required] changes upstream. Also 5 minutes is pretty excellent right now for building Kubernetes. |
|
@BenTheElder that would be it! Thanks, will give it a go. |
|
Also I'm pretty sure for the contributor summit at least what we've done is used stable releases of both (checkout to kubernetes release-1.X branch, use latest kind stable release) to avoid surprises on the day of the session, that may be a good idea here (though might be nearly as tricky to do on a rolling basis?) We also have pre-compiled binaries used by CI here: https://kind.sigs.k8s.io/dl/latest/linux-amd64 (not really advertised, since if you're not developing Kubernetes we'd prefer that people stick to a stable release). |
|
@napcs @katjuell @hazel-nut this might be a good place to contribute if DO folks are interested. |
|
@BenHall Any updates? please let us know. |
|
/assign |
|
@dims there is a draft for this ready with a few kinks to iron out - would appreciate some feedback on what can be added/deleted/re-worded: https://hackmd.io/@uAHy4KDqQdaqL_eZX2nGSA/HkAvKY9bY |
|
Looks good @MadhavJivrajani |
|
According to the documentation of katacoda we need to have a Github repository in this format https://www.katacoda.community/essentials/author-profile.html#create-author-profile and have an author profile there to release a scenario, I was thinking if k8s repo has its own katacoda profile then it would be better. Also since we already have katacoda tutorials for downstream users I was trying to find out katacoda scenario repository in k8s org but couldn't find one. Also here's an example of katacoda scenario repository. |
|
I have created the katacoda scenario here, could anyone please review it. |
|
@Debanitrkl please send an email to sig-contribex and sig-docs about creating a github repository like the one mentioned in the url above and let us see who can help. Also add it to their meeting agenda please. |
Yeah sure I will drop an email soon, Also I have already discussed it with folks at sig-contribex in our biweekly meetings, and a few people are presently reviewing the scenario and post-review I was advised to open an issue with steering as they are the ones responsible for opening a new repository. |
|
see "Repository creation/migration" in https://github.com/kubernetes/org/issues/new/choose (no need to involve steering, you need a SIG to own this) |
|
The repository for the katacoda-scenario has been created and the first basic tutorial is prepared, so closing the issue. |
|
@Debanitrkl: 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. |
|
/reopen |
|
@Debanitrkl: Reopened 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. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
|
@k8s-triage-robot: 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. |
Other CNCF communities maintain katacoda courses, example:
https://github.com/thanos-io/thanos/issues?q=is%3Aissue++katacoda+
There are a lot of katacoda scenarios for kubernetes in general as a end user:
https://katacoda.com/kubernetes
ASK:
We need one where someone who has just starting out in kubernetes and wants to try their hand at making a patch and testing it.
Basic Steps:
go,make(build-essentialon ubuntu)Optional :
kindcluster with the updated codeWhy do we need to doing:
Possible issues:
The text was updated successfully, but these errors were encountered: