From 12136358804ba40aa9d49626c227a22390425730 Mon Sep 17 00:00:00 2001 From: Jorge Vallecillo Date: Mon, 21 Sep 2020 15:36:01 -0600 Subject: [PATCH] Fix typos --- .../concepts/configuration/manage-resources-containers.md | 2 +- content/en/docs/reference/access-authn-authz/rbac.md | 2 +- content/en/docs/reference/using-api/health-checks.md | 2 +- content/en/docs/tasks/extend-kubectl/kubectl-plugins.md | 2 +- content/id/docs/reference/access-authn-authz/rbac.md | 2 +- .../concepts/configuration/manage-resources-containers.md | 2 +- content/zh/docs/tasks/extend-kubectl/kubectl-plugins.md | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/en/docs/concepts/configuration/manage-resources-containers.md b/content/en/docs/concepts/configuration/manage-resources-containers.md index e314a2c9d7..6057c60d46 100644 --- a/content/en/docs/concepts/configuration/manage-resources-containers.md +++ b/content/en/docs/concepts/configuration/manage-resources-containers.md @@ -438,7 +438,7 @@ If you want to use project quotas, you should: [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) in the kubelet configuration. -* Ensure that the the root filesystem (or optional runtime filesystem) +* Ensure that the root filesystem (or optional runtime filesystem) has project quotas enabled. All XFS filesystems support project quotas. For ext4 filesystems, you need to enable the project quota tracking feature while the filesystem is not mounted. diff --git a/content/en/docs/reference/access-authn-authz/rbac.md b/content/en/docs/reference/access-authn-authz/rbac.md index 6dea2e0d31..14b8fbc46b 100644 --- a/content/en/docs/reference/access-authn-authz/rbac.md +++ b/content/en/docs/reference/access-authn-authz/rbac.md @@ -1193,7 +1193,7 @@ the [legacy ABAC policy](/docs/reference/access-authn-authz/abac/#policy-file-fo ``` To explain that first command line option in detail: if earlier authorizers, such as Node, -deny a request, then the the RBAC authorizer attempts to authorize the API request. If RBAC +deny a request, then the RBAC authorizer attempts to authorize the API request. If RBAC also denies that API request, the ABAC authorizer is then run. This means that any request allowed by *either* the RBAC or ABAC policies is allowed. diff --git a/content/en/docs/reference/using-api/health-checks.md b/content/en/docs/reference/using-api/health-checks.md index a7be3b267f..7544344ec4 100644 --- a/content/en/docs/reference/using-api/health-checks.md +++ b/content/en/docs/reference/using-api/health-checks.md @@ -19,7 +19,7 @@ The `healthz` endpoint is deprecated (since Kubernetes v1.16), and you should us The `livez` endpoint can be used with the `--livez-grace-period` [flag](/docs/reference/command-line-tools-reference/kube-apiserver) to specify the startup duration. For a graceful shutdown you can specify the `--shutdown-delay-duration` [flag](/docs/reference/command-line-tools-reference/kube-apiserver) with the `/readyz` endpoint. Machines that check the `health`/`livez`/`readyz` of the API server should rely on the HTTP status code. -A status code `200` indicates the the API server is `healthy`/`live`/`ready`, depending of the called endpoint. +A status code `200` indicates the API server is `healthy`/`live`/`ready`, depending of the called endpoint. The more verbose options shown below are intended to be used by human operators to debug their cluster or specially the state of the API server. The following examples will show how you can interact with the health API endpoints. diff --git a/content/en/docs/tasks/extend-kubectl/kubectl-plugins.md b/content/en/docs/tasks/extend-kubectl/kubectl-plugins.md index 216145a744..4f77db20cc 100644 --- a/content/en/docs/tasks/extend-kubectl/kubectl-plugins.md +++ b/content/en/docs/tasks/extend-kubectl/kubectl-plugins.md @@ -153,7 +153,7 @@ An older kubectl plugin mechanism provided environment variables such as `KUBECT kubectl plugins must parse and validate all of the arguments passed to them. See [using the command line runtime package](#using-the-command-line-runtime-package) for details of a Go library aimed at plugin authors. -Here are some additional cases where users invoke your plugin while providing additional flags and arguments. This builds upon the the `kubectl-foo-bar-baz` plugin from the scenario above. +Here are some additional cases where users invoke your plugin while providing additional flags and arguments. This builds upon the `kubectl-foo-bar-baz` plugin from the scenario above. If you run `kubectl foo bar baz arg1 --flag=value arg2`, kubectl's plugin mechanism will first try to find the plugin with the longest possible name, which in this case would be `kubectl-foo-bar-baz-arg1`. Upon not finding that plugin, kubectl then treats the last dash-separated value as an argument (`arg1` in this case), and attempts to find the next longest possible name, `kubectl-foo-bar-baz`. diff --git a/content/id/docs/reference/access-authn-authz/rbac.md b/content/id/docs/reference/access-authn-authz/rbac.md index 49aa20ed6e..8a058b6710 100644 --- a/content/id/docs/reference/access-authn-authz/rbac.md +++ b/content/id/docs/reference/access-authn-authz/rbac.md @@ -1158,7 +1158,7 @@ the [legacy ABAC policy](/docs/reference/access-authn-authz/abac/#policy-file-fo ``` To explain that first command line option in detail: if earlier authorizers, such as Node, -deny a request, then the the RBAC authorizer attempts to authorize the API request. If RBAC +deny a request, then the RBAC authorizer attempts to authorize the API request. If RBAC also denies that API request, the ABAC authorizer is then run. This means that any request allowed by *either* the RBAC or ABAC policies is allowed. diff --git a/content/zh/docs/concepts/configuration/manage-resources-containers.md b/content/zh/docs/concepts/configuration/manage-resources-containers.md index b2d3844012..f3a1d11311 100644 --- a/content/zh/docs/concepts/configuration/manage-resources-containers.md +++ b/content/zh/docs/concepts/configuration/manage-resources-containers.md @@ -815,7 +815,7 @@ If you want to use project quotas, you should: [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) in the kubelet configuration. -* Ensure that the the root filesystem (or optional runtime filesystem) +* Ensure that the root filesystem (or optional runtime filesystem) has project quotas enabled. All XFS filesystems support project quotas. For ext4 filesystems, you need to enable the project quota tracking feature while the filesystem is not mounted. diff --git a/content/zh/docs/tasks/extend-kubectl/kubectl-plugins.md b/content/zh/docs/tasks/extend-kubectl/kubectl-plugins.md index 2a81040a1a..4b5acb47ea 100644 --- a/content/zh/docs/tasks/extend-kubectl/kubectl-plugins.md +++ b/content/zh/docs/tasks/extend-kubectl/kubectl-plugins.md @@ -243,14 +243,14 @@ An older kubectl plugin mechanism provided environment variables such as `KUBECT kubectl plugins must parse and validate all of the arguments passed to them. See [using the command line runtime package](#using-the-command-line-runtime-package) for details of a Go library aimed at plugin authors. -Here are some additional cases where users invoke your plugin while providing additional flags and arguments. This builds upon the the `kubectl-foo-bar-baz` plugin from the scenario above. +Here are some additional cases where users invoke your plugin while providing additional flags and arguments. This builds upon the `kubectl-foo-bar-baz` plugin from the scenario above. --> kubeclt 插件必须解析并检查传递给它们的所有参数。 参阅[使用命令行运行时包](#using-the-command-line-runtime-package)了解针对 插件开发人员的 Go 库的细节。 这里是一些用户调用你的插件的时候提供额外标志和参数的场景。 这些场景时基于上述案例中的 `kubectl-foo-bar-baz` 插件的。