Fix relative links issue in zh content (#13312)
* `http://kubernetes.io/docs/` -> `/docs/` * `https://kubernetes.io/docs/` -> `/docs/`
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
868899b059
commit
61ee18e87b
@@ -358,7 +358,7 @@ mkdir -p ~/.kube
|
||||
juju scp kubernetes-master/0:config ~/.kube/config
|
||||
```
|
||||
|
||||
<!-- The next step is to install the kubectl client on your local machine. The recommended way to do this on Ubuntu is using the kubectl snap ([https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu)).
|
||||
<!-- The next step is to install the kubectl client on your local machine. The recommended way to do this on Ubuntu is using the kubectl snap ([/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu](/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu)).
|
||||
|
||||
The following command should be run on the machine you wish to use to control the kubernetes cluster:
|
||||
|
||||
@@ -368,7 +368,7 @@ sudo snap install kubectl --classic
|
||||
|
||||
This will install and deploy the kubectl binary. You may need to restart your terminal as your $PATH may have been updated. -->
|
||||
|
||||
下一步是在本地机器上安装 kubectl 客户端。在 Ubuntu 上推荐的安装方式是使用 kubectl snap ([https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu))。
|
||||
下一步是在本地机器上安装 kubectl 客户端。在 Ubuntu 上推荐的安装方式是使用 kubectl snap ([/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu](/docs/tasks/tools/install-kubectl/#install-with-snap-on-ubuntu))。
|
||||
|
||||
可以运行下面的命令便可以控制 kubernetes 集群了:
|
||||
|
||||
|
||||
@@ -29,9 +29,9 @@ content_template: templates/task
|
||||
<!-- To use this guide, you must have a working kubernetes cluster that was deployed using Canonical's juju. -->
|
||||
本文假设你有一个已经通过 Juju 部署、正在运行的集群。
|
||||
|
||||
<!-- The full instructions for deploying Kubernetes with juju can be found at [https://kubernetes.io/docs/getting-started-guides/ubuntu/installation/](https://kubernetes.io/docs/getting-started-guides/ubuntu/installation/). -->
|
||||
<!-- The full instructions for deploying Kubernetes with juju can be found at [/docs/getting-started-guides/ubuntu/installation/](/docs/getting-started-guides/ubuntu/installation/). -->
|
||||
|
||||
有关使用 juju 部署 Kubernetes 集群的完整指导,请参考 [https://kubernetes.io/docs/getting-started-guides/ubuntu/installation/](https://kubernetes.io/docs/getting-started-guides/ubuntu/installation/)。
|
||||
有关使用 juju 部署 Kubernetes 集群的完整指导,请参考 [/docs/getting-started-guides/ubuntu/installation/](/docs/getting-started-guides/ubuntu/installation/)。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
|
||||
@@ -264,9 +264,9 @@ To deploy using helm, you will need to follow these steps: -->
|
||||
## 日志和监控
|
||||
|
||||
<!-- By default there is no log aggregation of the Kubernetes nodes, each node logs locally.
|
||||
Please read over the [logging](https://kubernetes.io/docs/getting-started-guides/ubuntu/logging/) page for more information. -->
|
||||
Please read over the [logging](/docs/getting-started-guides/ubuntu/logging/) page for more information. -->
|
||||
|
||||
默认情况下, Kubernetes 没有节点的日志聚合,每个节点都是本地保存日志。
|
||||
请参阅[日志](https://kubernetes.io/docs/getting-started-guides/ubuntu/logging/)文档,获取更多信息。
|
||||
请参阅[日志](/docs/getting-started-guides/ubuntu/logging/)文档,获取更多信息。
|
||||
|
||||
{{% /capture %}}
|
||||
|
||||
@@ -559,11 +559,11 @@ Use your preferred method to start Kubernetes cluster on Linux. Please note that
|
||||
## Support for kubeadm join
|
||||
-->
|
||||
|
||||
如果您的群集是由[kubeadm](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/),创建的
|
||||
如果您的群集是由[kubeadm](/docs/setup/independent/create-cluster-kubeadm/),创建的
|
||||
使用上面列出的方法之一正确地设置网络(网络是在 kubeadm 之外设置的),您可以使用 kubeadm 向集群添加 Windows 节点。在较高的级别上,首先必须使用 kubeadm(Linux) 初始化主节点,然后设置基于 CNI 的网络(在 kubeadm 之外),最后开始将 Windows 或 Linux 工作节点连接到集群。如需其他文件和参考资料,请访问上文的 kubeadm 链接。
|
||||
|
||||
<!--
|
||||
If your cluster has been created by [kubeadm](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/),
|
||||
If your cluster has been created by [kubeadm](/docs/setup/independent/create-cluster-kubeadm/),
|
||||
and your networking is setup correctly using one of the methods listed above (networking is setup outside of kubeadm), you can use kubeadm to add a Windows node to your cluster. At a high level, you first have to initialize the master with kubeadm (Linux), then set up the CNI based networking (outside of kubeadm), and finally start joining Windows or Linux worker nodes to the cluster. For additional documentation and reference material, visit the kubeadm link above.
|
||||
-->
|
||||
|
||||
@@ -575,9 +575,9 @@ The kubeadm binary can be found at [Kubernetes Releases](https://github.com/kube
|
||||
|
||||
`kubeadm.exe join --token <token> <master-ip>:<master-port> --discovery-token-ca-cert-hash sha256:<hash>`
|
||||
|
||||
有关更多详细信息请参阅[加入您的节点](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#joining-your-nodes)。
|
||||
有关更多详细信息请参阅[加入您的节点](/docs/setup/independent/create-cluster-kubeadm/#joining-your-nodes)。
|
||||
<!--
|
||||
See [joining-your-nodes](https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#joining-your-nodes) for more details.
|
||||
See [joining-your-nodes](/docs/setup/independent/create-cluster-kubeadm/#joining-your-nodes) for more details.
|
||||
-->
|
||||
|
||||
## 支持的功能
|
||||
|
||||
Reference in New Issue
Block a user