Skip to content

Commit b40d09f

Browse files
committed
* 'master' of https://github.com/kubernetes/kubernetes.github.io: Update links to proper repos # Conflicts: # docs/admin/kubeadm.md # docs/concepts/overview/kubernetes-api.md # docs/reference/api-overview.md # docs/setup/independent/create-cluster-kubeadm.md # docs/tasks/administer-cluster/configure-pod-disruption-budget.md
2 parents 26e3c39 + 2e19259 commit b40d09f

File tree

94 files changed

+255
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+255
-205
lines changed

_data/docs-home.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toc:
66
- docs/home/index.md
77

88
- title: Release Notes
9-
path: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md
9+
path: https://git.k8s.io/kubernetes/CHANGELOG.md
1010
- title: Release Roadmap
1111
path: https://github.com/kubernetes/kubernetes/milestones/
1212

_data/reference.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ toc:
3535
- title: OpenAPI and Swagger
3636
section:
3737
- title: OpenAPI Spec
38-
path: https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/
38+
path: https://git.k8s.io/kubernetes/api/openapi-spec/
3939
- title: Swagger Spec
40-
path: https://github.com/kubernetes/kubernetes/tree/master/api/swagger-spec/
40+
path: https://git.k8s.io/kubernetes/api/swagger-spec/
4141

4242
- title: Federation API
4343
section:
@@ -77,16 +77,16 @@ toc:
7777
- title: Kubernetes Design Docs
7878
section:
7979
- title: Kubernetes Architecture
80-
path: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture.md
80+
path: https://git.k8s.io/community/contributors/design-proposals/architecture.md
8181
- title: Kubernetes Design Overview
8282
path: https://github.com/kubernetes/kubernetes/tree/release-1.6/docs/design
8383
- title: Kubernetes Identity and Access Management
84-
path: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/access.md
84+
path: https://git.k8s.io/community/contributors/design-proposals/access.md
8585
- docs/admin/ovs-networking.md
8686
- title: Security Contexts
87-
path: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/security_context.md
87+
path: https://git.k8s.io/community/contributors/design-proposals/security_context.md
8888
- title: Security in Kubernetes
89-
path: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/security.md
89+
path: https://git.k8s.io/community/contributors/design-proposals/security.md
9090

9191
- title: Kubernetes Issues and Security
9292
section:

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</div>
2626
</div>
2727
<div id="miceType" class="center">
28-
&copy; {{ 'now' | date: "%Y" }} The Kubernetes Authors | Documentation Distributed under <a href="https://github.com/kubernetes/kubernetes.github.io/blob/master/LICENSE" class="light-text">CC BY 4.0</a>
28+
&copy; {{ 'now' | date: "%Y" }} The Kubernetes Authors | Documentation Distributed under <a href="https://git.k8s.io/kubernetes.github.io/LICENSE" class="light-text">CC BY 4.0</a>
2929
</div>
3030
<div id="miceType" class="center">
3131
Copyright &copy; {{ 'now' | date: "%Y" }} The Linux Foundation&reg;. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: <a href="https://www.linuxfoundation.org/trademark-usage" class="light-text">https://www.linuxfoundation.org/trademark-usage</a>

_includes/user-guide-migration-notice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<tr>
55
<td>
66
<p><b>NOTICE</b></p>
7-
<p>As of March 14, 2017, the Kubernetes SIG-Docs-Maintainers group have begun migration of the User Guide content as announced previously to the <a href="https://github.com/kubernetes/community/tree/master/sig-docs">SIG Docs community</a> through the <a href="https://groups.google.com/forum/#!forum/kubernetes-sig-docs">kubernetes-sig-docs</a> group and <a href="https://kubernetes.slack.com/messages/sig-docs/">kubernetes.slack.com #sig-docs</a> channel.</p>
7+
<p>As of March 14, 2017, the Kubernetes SIG-Docs-Maintainers group have begun migration of the User Guide content as announced previously to the <a href="https://git.k8s.io/community/sig-docs">SIG Docs community</a> through the <a href="https://groups.google.com/forum/#!forum/kubernetes-sig-docs">kubernetes-sig-docs</a> group and <a href="https://kubernetes.slack.com/messages/sig-docs/">kubernetes.slack.com #sig-docs</a> channel.</p>
88
<p>The user guides within this section are being refactored into topics within Tutorials, Tasks, and Concepts. Anything that has been moved will have a notice placed in its previous location as well as a link to its new location. The reorganization implements a new table of contents and should improve the documentation's findability and readability for a wider range of audiences.</p>
99
<p>For any questions, please contact: <a href="mailto:[email protected]">[email protected]</a></p>
1010
</td>

cn/docs/concepts/overview/what-is-kubernetes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ Kubernetes 提供了很多的功能,总会有新的场景会受益于新特性
9191

9292
[Label](/docs/user-guide/labels/) 允许用户按照自己的方式组织管理对应的资源。 [注解](/docs/user-guide/annotations/) 使用户能够以自定义的描述信息来修饰资源,以适用于自己的工作流,并为管理工具提供检查点状态的简单方法。
9393

94-
此外,[Kubernetes 控制面](/docs/admin/cluster-components) 是构建在相同的 [APIs](/docs/api/) 上面,开发员人和用户都可以用。用户可以编写自己的控制器, [调度器](https://github.com/kubernetes/kubernetes/tree/{{page.githubbranch}}/docs/devel/scheduler.md)等等,如果这么做,根据新加的[自定义 API](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/extending-api.md) ,可以扩展当前的通用 [CLI 命令行工具](/docs/user-guide/kubectl-overview/)
94+
此外,[Kubernetes 控制面](/docs/admin/cluster-components) 是构建在相同的 [APIs](/docs/api/) 上面,开发员人和用户都可以用。用户可以编写自己的控制器, [调度器](https://git.k8s.io/community/contributors/devel/scheduler.md)等等,如果这么做,根据新加的[自定义 API](https://git.k8s.io/community/contributors/design-proposals/extending-api.md) ,可以扩展当前的通用 [CLI 命令行工具](/docs/user-guide/kubectl-overview/)
9595

96-
这种 [设计](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/principles.md) 使得许多其他系统可以构建在 Kubernetes 之上。
96+
这种 [设计](https://git.k8s.io/community/contributors/design-proposals/principles.md) 使得许多其他系统可以构建在 Kubernetes 之上。
9797

9898
#### Kubernetes 不是什么:
9999

docs/admin/admission-controllers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ This plug-in will observe the incoming request and ensure that it does not viola
205205
enumerated in the `ResourceQuota` object in a `Namespace`. If you are using `ResourceQuota`
206206
objects in your Kubernetes deployment, you MUST use this plug-in to enforce quota constraints.
207207

208-
See the [resourceQuota design doc](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/admission_control_resource_quota.md) and the [example of Resource Quota](/docs/concepts/policy/resource-quotas/) for more details.
208+
See the [resourceQuota design doc](https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md) and the [example of Resource Quota](/docs/concepts/policy/resource-quotas/) for more details.
209209

210210
It is strongly encouraged that this plug-in is configured last in the sequence of admission control plug-ins. This is
211211
so that quota is not prematurely incremented only for the request to be rejected later in admission control.
@@ -218,7 +218,7 @@ your Kubernetes deployment, you MUST use this plug-in to enforce those constrain
218218
be used to apply default resource requests to Pods that don't specify any; currently, the default LimitRanger
219219
applies a 0.1 CPU requirement to all Pods in the `default` namespace.
220220

221-
See the [limitRange design doc](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/design/admission_control_limit_range.md) and the [example of Limit Range](/docs/tasks/configure-pod-container/limit-range/) for more details.
221+
See the [limitRange design doc](https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md) and the [example of Limit Range](/docs/tasks/configure-pod-container/limit-range/) for more details.
222222

223223
### InitialResources (experimental)
224224

@@ -227,7 +227,7 @@ then the plug-in auto-populates a compute resource request based on historical u
227227
If there is not enough data to make a decision the Request is left unchanged.
228228
When the plug-in sets a compute resource request, it annotates the pod with information on what compute resources it auto-populated.
229229

230-
See the [InitialResouces proposal](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/proposals/initial-resources.md) for more details.
230+
See the [InitialResouces proposal](https://git.k8s.io/community/contributors/design-proposals/initial-resources.md) for more details.
231231

232232
### NamespaceLifecycle
233233

docs/admin/authorization/webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Access to other non-resource paths can be disallowed without restricting access
141141
to the REST api.
142142

143143
For further documentation refer to the authorization.v1beta1 API objects and
144-
[webhook.go](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go).
144+
[webhook.go](https://git.k8s.io/kubernetes/staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go).
145145

146146
{% endcapture %}
147147

docs/admin/bootstrap-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Authorization: Bearer 07401b.f395accd246ae52d
5858

5959
Each valid token is backed by a secret in the `kube-system` namespace. You can
6060
find the full design doc
61-
[here](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/bootstrap-discovery.md).
61+
[here](https://git.k8s.io/community/contributors/design-proposals/bootstrap-discovery.md).
6262

6363
Here is what the secret looks like. Note that `base64(string)` indicates the
6464
value should be base64 encoded. The undecoded version is provided here for

docs/admin/federation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,4 @@ if required.
385385

386386
## For more information
387387

388-
* [Federation proposal](https://github.com/kubernetes/kubernetes/blob/{{page.githubbranch}}/docs/proposals/federation.md) details use cases that motivated this work.
388+
* [Federation proposal](https://git.k8s.io/community/contributors/design-proposals/federation.md) details use cases that motivated this work.

docs/admin/kubeadm.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,3 +619,54 @@ export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,example.com,1
619619

620620
Remember to change `proxy_ip` and add a kube master node IP address to
621621
`no_proxy`.
622+
623+
## Use Kubeadm with other CRI runtimes
624+
625+
Since [Kubernetes 1.6 release](https://git.k8s.io/kubernetes/CHANGELOG.md#node-components-1), Kubernetes container runtimes have been transferred to using CRI by default. Currently, the build-in container runtime is Docker which is enabled by build-in `dockershim` in `kubelet`.
626+
627+
Using other CRI based runtimes with kubeadm is very simple, and currently supported runtimes are:
628+
629+
- [cri-o](https://github.com/kubernetes-incubator/cri-o)
630+
- [frakti](https://github.com/kubernetes/frakti)
631+
- [rkt](https://github.com/kubernetes-incubator/rktlet)
632+
633+
After you have successfully installed `kubeadm` and `kubelet`, please follow these two steps:
634+
635+
1. Install runtime shim on every node. You will need to follow the installation document in the runtime shim project listing above.
636+
637+
2. Configure kubelet to use remote CRI runtime. Please remember to change `RUNTIME_ENDPOINT` to your own value like `/var/run/{your_runtime}.sock`:
638+
639+
```shell
640+
$ cat > /etc/systemd/system/kubelet.service.d/20-cri.conf <<EOF
641+
Environment="KUBELET_EXTRA_ARGS=--container-runtime=remote --container-runtime-endpoint=$RUNTIME_ENDPOINT --feature-gates=AllAlpha=true"
642+
EOF
643+
$ systemctl daemon-reload
644+
```
645+
646+
Now `kubelet` is ready to use the specified CRI runtime, and you can continue with `kubeadm init` and `kubeadm join` workflow to deploy Kubernetes cluster.
647+
648+
## Using custom certificates
649+
650+
By default kubeadm will generate all the certificates needed for a cluster to run.
651+
You can override this behaviour by providing your own certificates.
652+
653+
To do so, you must place them in whatever directory is specified by the
654+
`--cert-dir` flag or `CertificatesDir` configuration file key. By default this
655+
is `/etc/kubernetes/pki`.
656+
657+
If a given certificate and private key pair both exist, kubeadm will skip the
658+
generation step and those files will be validated and used for the prescribed
659+
use-case.
660+
661+
This means you can, for example, prepopulate `/etc/kubernetes/pki/ca.crt`
662+
and `/etc/kubernetes/pki/ca.key` with an existing CA, which then will be used
663+
for signing the rest of the certs.
664+
665+
## Releases and release notes
666+
667+
If you already have kubeadm installed and want to upgrade, run `apt-get update
668+
&& apt-get upgrade` or `yum update` to get the latest version of kubeadm.
669+
670+
Refer to the
671+
[CHANGELOG.md](https://git.k8s.io/kubeadm/CHANGELOG.md)
672+
for more information.

0 commit comments

Comments
 (0)