website icon indicating copy to clipboard operation
website copied to clipboard

Plan: Remove /samples and merge maintained examples into /tutorials

Open ahmetb opened this issue 9 years ago • 11 comments

This is a rough plan I am planning to execute this/next week with the help of the reviewers:

  • [x] Stage 1. Delete Samples section (https://kubernetes.io/docs/samples/ ): Most of this page is just links to various random stuff, which now moved to kubernetes/examples repository. They do not belong to the website.

    • The only internal link on this page is the MEAN stack tutorial. I am reluctant about keeping this tutorial around. It's overlapping with other tutorials (mentioned below) and has a lot of GKE/GCE references.
  • [x] Stage 2. Move Tutorials to https://kubernetes.io/docs/tutorials/. By tutorials I mean the (currently) three examples maintained at https://github.com/kubernetes/examples. These are:

    On the first pass, I will move the README files of these examples from GitHub to this repository and clean up obvious issues, such as broken links, find them a proper title, and fit them under a topic on the left sidebar.

    At this stage, I appreciate if we skip reviewing the actual content. This would be just a migration PR.

  • [x] Stage 3. Remove README.md files from kubernetes/examples repository: Not entirely removing, just updating them to contain a pointer to the tutorial link on k8s.io website to follow the tutorial.

  • [x] Stage 4. Polish tutorials over time: Cleaning unnecessary stuff from the README.md files of these tutorials. Example of Guestbook tutorial on k8s.io vs GKE site:

    k8s: https://github.com/kubernetes/examples/tree/master/guestbook GKE: https://cloud.google.com/container-engine/docs/tutorials/guestbook

    As it can be seen from links above, GKE is much concise. I intend to keep these tutorials short. At this stage I suggest we review the content more thoroughly and meet the bar for tutorial standards. This work will be mostly done by @cody-clark.

    • [x] Polish Guestbook PHP tutorial
    • [x] Polish WordPress/MySQL tutorial
    • [x] Polish Cassandra tutorial

I am hoping to execute this in JFDI fashion, can a reviewer work with me on iterating on the PRs quickly? cc: @kubernetes/sig-docs-maintainers

ahmetb avatar Jun 19 '17 17:06 ahmetb

cc: @steveperry-53 @chenopis @jaredbhatti I'll be starting to work on this soon. Please let me know if you have any comments.

ahmetb avatar Jun 20 '17 19:06 ahmetb

@ahmetb SGTM. Please add the 3 of us as assignees to any of the k8s.io PRs. Thx!

chenopis avatar Jun 23 '17 08:06 chenopis

A lot of this is part of Cody's internship project. Can you coordinate with him on all the docs work?

jaredbhatti avatar Jun 23 '17 18:06 jaredbhatti

@ahmetb I'll have @cody-clark ping you.

chenopis avatar Jun 23 '17 18:06 chenopis

@ahmetb, Could we have Cody go ahead and get started, in a separate PR, on the Cassandra tutorial? I'd like him to be able to get started on his primary internship project as soon as possible. Here's what I would suggest we have Cody do now in his own PR:

  • Move the Cassandra Readme content to a location under kubernetes.io/docs/tutorials.
  • Test the Cassandra tutorial steps and gain an understanding of what's being taught in the tutorial.
  • Edit the Cassandra tutorial to comply with our style guide and our vision of what a tutorial should look like.

cc: @cody-clark, @jaredbhatti, @chenopis

steveperry-53 avatar Jun 23 '17 20:06 steveperry-53

We checked with Cody yesterday. He’ll be working on Step 4 (for all tutorials).

I'll send a PR to address Steps 1-3 today, then we can work on Step 4 asynchronously once the content is here. I'm reopening this issue to keep track of the work.

ahmetb avatar Jun 23 '17 20:06 ahmetb

Step 1-3 is now fixed. @cody-clark feel free to take a stab at the tutorial content now. I mostly fixed obvious issues such as broken links and titles during the migration. The tutorials content probably needs someone executing again to see if the instructions are still working and also we should probably make these tutorials more concise by eliminating unnecessary amount of detail.

ahmetb avatar Jun 26 '17 19:06 ahmetb

/assign @cody-clark

chenopis avatar Jun 26 '17 20:06 chenopis

@ahmetb Thanks! I'm on it.

cody-clark avatar Jun 26 '17 21:06 cody-clark

@cody-clark Let us know when this is done so we can close this issue. Thx!

chenopis avatar Jul 27 '17 20:07 chenopis

@chenopis I'm giving this a soft ready. I submitted the last PR so we're almost there :)

cody-clark avatar Aug 17 '17 20:08 cody-clark