fix create-cluster-kubeadm docs

reviewable/pr4632/r1^2
fisherxu 2017-08-04 19:36:48 +08:00 committed by Andrew Chen
parent 435696a0d1
commit 5fa22b2365
1 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ If you are not constrained, there are other higher-level tools built to give you
complete clusters: complete clusters:
* On GCE, [Google Container Engine](https://cloud.google.com/container-engine/) * On GCE, [Google Container Engine](https://cloud.google.com/container-engine/)
gives you one-click Kubernetes clusters gives you one-click Kubernetes clusters.
* On AWS, [kops](https://github.com/kubernetes/kops) makes cluster installation * On AWS, [kops](https://github.com/kubernetes/kops) makes cluster installation
and management easy. kops supports building high availability clusters (a and management easy. kops supports building high availability clusters (a
feature that kubeadm is currently lacking but is building toward). feature that kubeadm is currently lacking but is building toward).
@ -357,7 +357,7 @@ kubectl --kubeconfig ./admin.conf get nodes
**Note:** If you are using GCE, instances disable ssh access for root by default. **Note:** If you are using GCE, instances disable ssh access for root by default.
If that's the case you can log in to the machine, copy the file someplace that If that's the case you can log in to the machine, copy the file someplace that
can be accessed and then use can be accessed and then use
[`gcloud compute copy-files`](https://cloud.google.com/sdk/gcloud/reference/compute/copy-files) [`gcloud compute copy-files`](https://cloud.google.com/sdk/gcloud/reference/compute/copy-files).
### (Optional) Proxying API Server to localhost ### (Optional) Proxying API Server to localhost
@ -450,7 +450,7 @@ control of your Kubernetes cluster.
## What's next ## What's next
* Learn about kubeadm's advanced usage on the [advanced reference * Learn about kubeadm's advanced usage on the [advanced reference
doc](/docs/admin/kubeadm/) doc](/docs/admin/kubeadm/).
* Learn more about Kubernetes [concepts](/docs/concepts/) and [`kubectl`](/docs/user-guide/kubectl-overview/). * Learn more about Kubernetes [concepts](/docs/concepts/) and [`kubectl`](/docs/user-guide/kubectl-overview/).
## Feedback ## Feedback
@ -507,7 +507,7 @@ addressed in due course.
You may have trouble in the configuration if you see Pod statuses like `RunContainerError`, You may have trouble in the configuration if you see Pod statuses like `RunContainerError`,
`CrashLoopBackOff` or `Error`. `CrashLoopBackOff` or `Error`.
1. **There are Pods in the `RunContainerError`, `CrashLoopBackOff` or `Error` state** 1. **There are Pods in the `RunContainerError`, `CrashLoopBackOff` or `Error` state**.
Right after `kubeadm init` there should not be any such Pods. If there are Pods in Right after `kubeadm init` there should not be any such Pods. If there are Pods in
such a state _right after_ `kubeadm init`, please open an issue in the kubeadm repo. such a state _right after_ `kubeadm init`, please open an issue in the kubeadm repo.
`kube-dns` should be in the `Pending` state until you have deployed the network solution. `kube-dns` should be in the `Pending` state until you have deployed the network solution.
@ -517,13 +517,13 @@ You may have trouble in the configuration if you see Pod statuses like `RunConta
might have to grant it more RBAC privileges or use a newer version. Please file might have to grant it more RBAC privileges or use a newer version. Please file
an issue in the Pod Network providers' issue tracker and get the issue triaged there. an issue in the Pod Network providers' issue tracker and get the issue triaged there.
1. **The `kube-dns` Pod is stuck in the `Pending` state forever** 1. **The `kube-dns` Pod is stuck in the `Pending` state forever**.
This is expected and part of the design. kubeadm is network provider-agnostic, so the admin This is expected and part of the design. kubeadm is network provider-agnostic, so the admin
should [install the pod network solution](/docs/concepts/cluster-administration/addons/) should [install the pod network solution](/docs/concepts/cluster-administration/addons/)
of choice. You have to install a Pod Network of choice. You have to install a Pod Network
before `kube-dns` may deployed fully. Hence the `Pending` state before the network is set up. before `kube-dns` may deployed fully. Hence the `Pending` state before the network is set up.
1. **I tried to set `HostPort` on one workload, but it didn't have any effect** 1. **I tried to set `HostPort` on one workload, but it didn't have any effect**.
The `HostPort` and `HostIP` functionality is available depending on your Pod Network The `HostPort` and `HostIP` functionality is available depending on your Pod Network
provider. Please contact the author of the Pod Network solution to find out whether provider. Please contact the author of the Pod Network solution to find out whether
`HostPort` and `HostIP` functionality are available. `HostPort` and `HostIP` functionality are available.