Skip to content
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

Add stateful application tutorial. #1599

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

jeffmendoza
Copy link
Contributor

@jeffmendoza jeffmendoza commented Nov 1, 2016

This change is Reviewable

@jeffmendoza
Copy link
Contributor Author

Preview looks good.
@steveperry-53 @devin-donnelly please review. Thanks!

@jeffmendoza
Copy link
Contributor Author

@askcarter @waprin PTAL

Copy link
Contributor

@askcarter askcarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@waprin
Copy link

waprin commented Nov 1, 2016

How do we stage it again?

@jeffmendoza
Copy link
Contributor Author

@waprin you can check out this pr, under the "All checks", then click Details next to deploy/netlify

To stage your stuff before opening a PR, check out https://github.com/kubernetes/kubernetes.github.io#staging-the-site-locally-using-docker

@pwittrock pwittrock assigned erictune and steveperry-53 and unassigned pwittrock Nov 1, 2016
@steveperry-53
Copy link
Contributor

I'll take a look at this and provide feedback by EOD Friday 11/4.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebot googlebot added cla: no and removed cla: yes labels Nov 4, 2016
@steveperry-53
Copy link
Contributor

steveperry-53 commented Nov 4, 2016

I really like the overall tutorial and its flow. I learned new things easily by going through this tutorial. I added a commit that has some suggested changes and also brings the document into alignment with our style guide.

@steveperry-53
Copy link
Contributor

Investigating why the deploy/netlify check failed.

the types of environments supported. This Tutorial will demonstrate
`GCEPersistentDisk` but any type will work. `GCEPersistentDisk`
volumes only work on Google Compute Engine.
* {% include task-tutorial-prereqs.md %}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Steve, The last bullet is important for this sample, I know it is covered in the first step of the tutorial, but I think it is important to call out in the prereqs.

@jeffmendoza
Copy link
Contributor Author

@steveperry-53 Rebased and updated prereqs. Screenshot below
before you begin

@jeffmendoza
Copy link
Contributor Author

jeffmendoza commented Nov 14, 2016

@steveperry-53 Any other changes needed?

@jeffmendoza I think we should remove the second bullet under Before You Begin. I see creating the persistent disk as a step, rather than a prerequisite. And I think it is covered as a step under "Setup a disk in your environment." Other than that, LGTM.

@erictune
Copy link
Member

For 1.5, I would recommend that users use a StatefulSet for this use case. StatefulSet will be beta in 1.5.

Was your plan to have this as an option in addition to StatefulSet, and if so how should users pick? Or would this one, with the Deployment, go into the 1.4 docs, and replace it with an SS-based example for 1.5?

Or are there still users who don't want to use a beta resource?

@jeffmendoza
Copy link
Contributor Author

The title of this one is "Running a Single-Instance Stateful Application". I was thinking we would have a complementary article "Running a Clustered Stateful Application" that covers StatefulSet. Is this correct?

@steveperry-53
Copy link
Contributor

I like the idea of having this tutorial be for single instance and having another tutorial for StatefulSet.

@jeffmendoza
Copy link
Contributor Author

Rebased

@googlebot
Copy link

CLAs look good, thanks!

@steveperry-53 steveperry-53 merged commit 748bd4d into kubernetes:master Nov 17, 2016
@janetkuo
Copy link
Member

@jeffmendoza @jaredbhatti Should we cherrypick this into release-1.5 since I'm adding StatefulSets tutorial #1707 and need the navigation change added here

@jeffmendoza
Copy link
Contributor Author

I'll leave it up to Jared.

Is there a plan for a regular merge (and conflict resolution) from master into release-1.5 to avoid a big merge at the end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants