-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Ensure all docs and examples in user guide are reachable #11352
Conversation
GCE e2e build/test passed for commit d0c37c2c8a734e29071a64128e2e5958798bf592. |
@@ -64,6 +64,9 @@ If you don't have much familiarity with Kubernetes, we recommend you read the fo | |||
[**Overview**](overview.md) | |||
: A brief overview of Kubernetes concepts. | |||
|
|||
**Cluster** | |||
: A cluster is the compute resources on top of which your containers are built. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I intentionally omitted Cluster and Node here, on the theory that those concepts should be defined in the admin guide instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. I add this because I saw that Cluster was mentioned several times in some of the documents (such as Kubernetes 101) without explaining it. I think that is likely to confuse first-time users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough.
I'd use a definition similar to that used by GKE: https://cloud.google.com/container-engine/docs/clusters/
A cluster is a set of physical or virtual machines and other infrastructure resources used by Kubernetes to run your applications.
I'd change the definition in the top-level README.md, also. We don't "build" containers, so that doesn't even make sense.
We should define node, as well, then.
A node is a physical or virtual machine running Kubernetes, onto which pods can be scheduled.
Both terms should link to docs. Node can link to ../admin/node.md. Cluster doesn't have a great doc, but maybe ../admin/README.md.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll modify the definition of Cluster and add Node definition in kubernetes/README.md too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add other concepts (volume, namespace, etc) in /README.md too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want to clutter /README.md much, so I wouldn't add more to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, adding Node is fine.
I expected more cross-linking. Did you ensure that every example in user-guide links to a corresponding doc and vice versa? |
I don't think docs/user-guide/logging-demo links to docs/user-guide/logging.md, for instance. |
@@ -107,6 +110,8 @@ If you don't have much familiarity with Kubernetes, we recommend you read the fo | |||
* [Downward API: accessing system configuration from a pod](downward-api.md) | |||
* [Images and registries](images.md) | |||
* [Migrating from docker-cli to kubectl](docker-cli-to-kubectl.md) | |||
* [Assign a pod to a specific node](node-selection/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assign a pod to selected nodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assign pods to selected nodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Please also link the update-demo back to docs/user-guide/managing-deployments.md#updating-your-application-without-a-service-outage |
Somehow the link to secrets.md in docs/user-guide/secrets/README.md is broken. Please fix it. |
I checked to ensure that all examples here are reference except for /logging-demo. I didn't include In this case, I'd add a link to |
I tried the link to secrets.md in docs/user-guide/secrets/README.md and didn't see it broken. Could you try it again? |
I'm checking the examples again to make sure every example in user-guide links to a corresponding doc and vice versa. |
This line in secrets/README.md is the culprit:
|
That link is removed in this code change. |
Maybe fix those in a separate PR:
|
@@ -22,8 +22,7 @@ certainly want the docs that go with that version.</h1> | |||
<!-- END MUNGE: UNVERSIONED_WARNING --> | |||
# Secrets example | |||
|
|||
Following this example, you will create a secret and a pod that consumes that secret in a volume. | |||
You can learn more about secrets [Here](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/secrets.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Thanks.
Links will be changed to be relative links in #11385 |
Thanks |
PTAL |
**Replication controllers** manage the lifecycle of pods. They ensure that a specified number of pods are running | ||
at any given time, by creating or killing pods as required. [More about replication controllers](docs/replication-controller.md). | ||
[**Pod**](docs/user-guide/pods.md) | ||
: Pods are a colocated group of Docker containers with shared volumes. They're the smallest deployable units that can be created, scheduled, and managed with Kubernetes. Pods can be created individually, but it's recommended that you use a replication controller even if creating a single pod. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Docker/application/
We also support Rocket.
Great! Thanks. Just a couple nits. |
PTAL |
LGTM! |
GCE e2e build/test passed for commit f9ac0c8fa59d7048bebdba16acc6ae70f02a5bad. |
GCE e2e build/test passed for commit b2467bef99f3ebe7c8638f56a48094d2a6abac1c. |
Please rebase and re-run the doc mungers. |
GCE e2e build/test passed for commit b2467bef99f3ebe7c8638f56a48094d2a6abac1c. |
GCE e2e build/test passed for commit d3107c06fd81b1d95eee4c6a5ec9c67585041c7b. |
GCE e2e build/test passed for commit b0c68c4. |
Thanks |
Ensure all docs and examples in user guide are reachable
Ensure all docs and examples in user guide are reachable
Also cross-link concept/feature docs, feature-oriented examples, and tutorials.
Fixes #11311
cc @bgrant0607 @krousey