Merge pull request #25932 from yuandongx/patch-2

[zh] Url is outdate ...
This commit is contained in:
Kubernetes Prow Robot 2021-01-03 23:47:55 -08:00 committed by GitHub
commit e0904f8d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -13,10 +13,10 @@ weight: 20
<!-- <!--
[Kustomize](https://github.com/kubernetes-sigs/kustomize) is a standalone tool [Kustomize](https://github.com/kubernetes-sigs/kustomize) is a standalone tool
to customize Kubernetes objects to customize Kubernetes objects
through a [kustomization file](https://github.com/kubernetes-sigs/kustomize/blob/master/docs/glossary.md#kustomization). through a [kustomization file](https://kubernetes-sigs.github.io/kustomize/api-reference/glossary/#kustomization).
--> -->
[Kustomize](https://github.com/kubernetes-sigs/kustomize) 是一个独立的工具,用来通过 [Kustomize](https://github.com/kubernetes-sigs/kustomize) 是一个独立的工具,用来通过
[kustomization 文件](https://github.com/kubernetes-sigs/kustomize/blob/master/docs/glossary.md#kustomization) [kustomization 文件](https://kubernetes-sigs.github.io/kustomize/api-reference/glossary/#kustomization)
定制 Kubernetes 对象。 定制 Kubernetes 对象。
<!-- <!--
@ -749,7 +749,7 @@ spec:
containers: containers:
- name: my-nginx - name: my-nginx
image: nginx image: nginx
command: ["start", "--host", "\$(MY_SERVICE_NAME)"] command: ["start", "--host", "$(MY_SERVICE_NAME)"]
EOF EOF
# 创建一个 service.yaml 文件 # 创建一个 service.yaml 文件
@ -910,7 +910,7 @@ EOF
<!-- <!--
## How to apply/view/delete objects using Kustomize ## How to apply/view/delete objects using Kustomize
Use `-kustomize` or `-k` in `kubectl` commands to recognize Resources managed by `kustomization.yaml`. Use `--kustomize` or `-k` in `kubectl` commands to recognize Resources managed by `kustomization.yaml`.
Note that `-k` should point to a kustomization directory, such as Note that `-k` should point to a kustomization directory, such as
--> -->
## 如何使用 Kustomize 来应用、查看和删除对象 ## 如何使用 Kustomize 来应用、查看和删除对象