Skip to content

Commit 3704399

Browse files
author
Bob Killen
committed
update admission-controller links
1 parent 3d01d17 commit 3704399

File tree

14 files changed

+30
-30
lines changed

14 files changed

+30
-30
lines changed

content/cn/docs/concepts/containers/images.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,10 @@ spec:
284284
- 使用集群自动伸缩比手动配置node工作的更好
285285
- 或者,在更改集群node配置不方便时,使用`imagePullSecrets`
286286
1. 使用专有镜像的集群,有更严格的访问控制
287-
- 保证[AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages)开启。否则,所有的pod都可以使用镜像
287+
- 保证[AlwaysPullImages admission controller](/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages)开启。否则,所有的pod都可以使用镜像
288288
- 将敏感数据存储在"Secret"资源中,而不是打包在镜像里
289289
1. 多租户集群下,每个租户需要自己的私有仓库
290-
- 保证[AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages)开启。否则,所有租户的所有的pod都可以使用镜像
290+
- 保证[AlwaysPullImages admission controller](/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages)开启。否则,所有租户的所有的pod都可以使用镜像
291291
- 私有仓库开启认证
292292
- 为每个租户获取仓库凭证,放置在secret中,并发布到每个租户的namespace下
293293
- 租户将secret增加到每个namespace下的imagePullSecrets中

content/cn/docs/concepts/policy/resource-quotas.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ title: 资源配额
1212

1313
资源配额的工作方式如下:
1414

15-
- 不同的团队在不同的namespace下工作。 目前这是自愿的, 但计划通过ACL (Access Control List 访问控制列表)
15+
- 不同的团队在不同的namespace下工作。 目前这是自愿的, 但计划通过ACL (Access Control List 访问控制列表)
1616
使其变为强制性的。
1717
- 管理员为每个namespace创建一个或多个资源配额对象。
18-
- 用户在namespace下创建资源 (pods、 services等),同时配额系统会跟踪使用情况,来确保其不超过
18+
- 用户在namespace下创建资源 (pods、 services等),同时配额系统会跟踪使用情况,来确保其不超过
1919
资源配额中定义的硬性资源限额。
20-
- 如果资源的创建或更新违反了配额约束,则请求会失败,并返回 HTTP状态码 `403 FORBIDDEN` ,以及说明违反配额
20+
- 如果资源的创建或更新违反了配额约束,则请求会失败,并返回 HTTP状态码 `403 FORBIDDEN` ,以及说明违反配额
2121
约束的信息。
22-
- 如果namespace下的计算资源 (如 `cpu``memory`)的配额被启用,则用户必须为这些资源设定请求值(request)
22+
- 如果namespace下的计算资源 (如 `cpu``memory`)的配额被启用,则用户必须为这些资源设定请求值(request)
2323
和约束值(limit),否则配额系统将拒绝Pod的创建。
2424
提示: 可使用 LimitRange 准入控制器来为没有设置计算资源需求的Pod设置默认值。
2525
作为示例,请参考 [演练](/docs/tasks/administer-cluster/quota-memory-cpu-namespace/) 来避免这个问题。
@@ -86,7 +86,7 @@ title: 资源配额
8686
| `persistentvolumeclaims` | namespace下允许存在的[PVC](/docs/user-guide/persistent-volumes/#persistentvolumeclaims)的数量。 |
8787
| `pods` | namespace下允许存在的非终止状态的pod数量。 如果pod 的 `status.phase 为 Failed 或 Succeeded` , 那么其处于终止状态。 |
8888
| `replicationcontrollers` | namespace下允许存在的replication controllers的数量。 |
89-
| `resourcequotas` | namespace下允许存在的 [resource quotas](/docs/admin/admission-controllers/#resourcequota) 的数量。 |
89+
| `resourcequotas` | namespace下允许存在的 [resource quotas](/docs/reference/access-authn-authz/admission-controllers/#resourcequota) 的数量。 |
9090
| `services` | namespace下允许存在的service的数量。 |
9191
| `services.loadbalancers` | namespace下允许存在的load balancer类型的service的数量。 |
9292
| `services.nodeports` | namespace下允许存在的node port类型的service的数量。 |

content/en/blog/_posts/2018-01-00-Extensible-Admission-Is-Beta.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The admission stage of API server processing is one of the most powerful tools f
1111

1212

1313
## What is Admission?
14-
[Admission](https://kubernetes.io/docs/admin/admission-controllers/#what-are-they) is the phase of [handling an API server request](https://blog.openshift.com/kubernetes-deep-dive-api-server-part-1/) that happens before a resource is persisted, but after authorization. Admission gets access to the same information as authorization (user, URL, etc) and the complete body of an API request (for most requests).
14+
[Admission](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#what-are-they) is the phase of [handling an API server request](https://blog.openshift.com/kubernetes-deep-dive-api-server-part-1/) that happens before a resource is persisted, but after authorization. Admission gets access to the same information as authorization (user, URL, etc) and the complete body of an API request (for most requests).
1515

1616
[![](https://2.bp.blogspot.com/-p8WGg2BATsY/WlfywbD_tAI/AAAAAAAAAJw/mDqZV0dB4_Y0gXXQp_1tQ7CtMRSd6lHVwCK4BGAYYCw/s640/Screen%2BShot%2B2018-01-11%2Bat%2B3.22.07%2BPM.png)](http://2.bp.blogspot.com/-p8WGg2BATsY/WlfywbD_tAI/AAAAAAAAAJw/mDqZV0dB4_Y0gXXQp_1tQ7CtMRSd6lHVwCK4BGAYYCw/s1600/Screen%2BShot%2B2018-01-11%2Bat%2B3.22.07%2BPM.png)
1717

content/en/docs/concepts/configuration/taint-and-toleration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ For example, it is recommended to use [Extended
181181
Resources](/docs/concepts/configuration/manage-compute-resources-container/#extended-resources)
182182
to represent the special hardware, taint your special hardware nodes with the
183183
extended resource name and run the
184-
[ExtendedResourceToleration](/docs/admin/admission-controllers/#extendedresourcetoleration)
184+
[ExtendedResourceToleration](/docs/reference/access-authn-authz/admission-controllers/#extendedresourcetoleration)
185185
admission controller. Now, because the nodes are tainted, no pods without the
186186
toleration will schedule on them. But when you submit a pod that requests the
187187
extended resource, the `ExtendedResourceToleration` admission controller will

content/en/docs/concepts/containers/images.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ you can do one of the following:
2727

2828
- set the `imagePullPolicy` of the container to `Always`;
2929
- use `:latest` as the tag for the image to use;
30-
- enable the [AlwaysPullImages](/docs/admin/admission-controllers/#alwayspullimages) admission controller.
30+
- enable the [AlwaysPullImages](/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) admission controller.
3131

3232
If you did not specify tag of your image, it will be assumed as `:latest`, with
3333
pull image policy of `Always` correspondingly.
@@ -315,10 +315,10 @@ common use cases and suggested solutions.
315315
- It will work better with cluster autoscaling than manual node configuration.
316316
- Or, on a cluster where changing the node configuration is inconvenient, use `imagePullSecrets`.
317317
1. Cluster with a proprietary images, a few of which require stricter access control.
318-
- Ensure [AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages) is active. Otherwise, all Pods potentially have access to all images.
318+
- Ensure [AlwaysPullImages admission controller](/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) is active. Otherwise, all Pods potentially have access to all images.
319319
- Move sensitive data into a "Secret" resource, instead of packaging it in an image.
320320
1. A multi-tenant cluster where each tenant needs own private registry.
321-
- Ensure [AlwaysPullImages admission controller](/docs/admin/admission-controllers/#alwayspullimages) is active. Otherwise, all Pods of all tenants potentially have access to all images.
321+
- Ensure [AlwaysPullImages admission controller](/docs/reference/access-authn-authz/admission-controllers/#alwayspullimages) is active. Otherwise, all Pods of all tenants potentially have access to all images.
322322
- Run a private registry with authorization required.
323323
- Generate registry credential for each tenant, put into secret, and populate secret to each tenant namespace.
324324
- The tenant adds that secret to imagePullSecrets of each namespace.

content/en/docs/concepts/extend-kubernetes/extend-cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Kubernetes provides several built-in authentication methods, and an [Authenticat
154154

155155
After a request is authorized, if it is a write operation, it also goes through [Admission Control](/docs/admin/admission-controllers/) steps. In addition to the built-in steps, there are several extensions:
156156

157-
* The [Image Policy webhook](/docs/admin/admission-controllers/#imagepolicywebhook) restricts what images can be run in containers.
157+
* The [Image Policy webhook](/docs/reference/access-authn-authz/admission-controllers/#imagepolicywebhook) restricts what images can be run in containers.
158158
* To make arbitrary admission control decisions, a general [Admission webhook](/docs/admin/extensible-admission-controllers/#admission-webhooks) can be used. Admission Webhooks can reject creations or updates.
159159
* [Initializers](/docs/admin/extensible-admission-controllers/#initializers) are controllers that can modify objects before they are created. Initializers can modify initial object creations but cannot affect updates to objects. Initializers can also reject objects.
160160

content/en/docs/concepts/policy/pod-security-policy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ administrator to control the following:
5151

5252
Pod security policy control is implemented as an optional (but recommended)
5353
[admission
54-
controller](/docs/admin/admission-controllers/#podsecuritypolicy). PodSecurityPolicies
54+
controller](/docs/reference/access-authn-authz/admission-controllers/#podsecuritypolicy). PodSecurityPolicies
5555
are enforced by [enabling the admission
56-
controller](/docs/admin/admission-controllers/#how-do-i-turn-on-an-admission-control-plug-in),
56+
controller](/docs/reference/access-authn-authz/admission-controllers/#how-do-i-turn-on-an-admission-control-plug-in),
5757
but doing so without authorizing any policies **will prevent any pods from being
5858
created** in the cluster.
5959

content/en/docs/concepts/policy/resource-quotas.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ The following types are supported:
154154
| `persistentvolumeclaims` | The total number of [persistent volume claims](/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) that can exist in the namespace. |
155155
| `pods` | The total number of pods in a non-terminal state that can exist in the namespace. A pod is in a terminal state if `.status.phase in (Failed, Succeeded)` is true. |
156156
| `replicationcontrollers` | The total number of replication controllers that can exist in the namespace. |
157-
| `resourcequotas` | The total number of [resource quotas](/docs/admin/admission-controllers/#resourcequota) that can exist in the namespace. |
157+
| `resourcequotas` | The total number of [resource quotas](/docs/reference/access-authn-authz/admission-controllers/#resourcequota) that can exist in the namespace. |
158158
| `services` | The total number of services that can exist in the namespace. |
159159
| `services.loadbalancers` | The total number of services of type load balancer that can exist in the namespace. |
160160
| `services.nodeports` | The total number of services of type node port that can exist in the namespace. |

content/en/docs/concepts/storage/dynamic-provisioning.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ dynamically provisioned if no storage class is specified. A cluster administrato
110110
can enable this behavior by:
111111

112112
- Marking one `StorageClass` object as *default*;
113-
- Making sure that the [`DefaultStorageClass` admission controller](/docs/admin/admission-controllers/#defaultstorageclass)
113+
- Making sure that the [`DefaultStorageClass` admission controller](/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass)
114114
is enabled on the API server.
115115

116116
An administrator can mark a specific `StorageClass` as default by adding the

content/en/docs/concepts/storage/persistent-volumes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ provisioning to occur. Claims that request the class `""` effectively disable
5959
dynamic provisioning for themselves.
6060

6161
To enable dynamic storage provisioning based on storage class, the cluster administrator
62-
needs to enable the `DefaultStorageClass` [admission controller](/docs/admin/admission-controllers/#defaultstorageclass)
62+
needs to enable the `DefaultStorageClass` [admission controller](/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass)
6363
on the API server. This can be done, for example, by ensuring that `DefaultStorageClass` is
6464
among the comma-delimited, ordered list of values for the `--enable-admission-plugins` flag of
6565
the API server component. For more information on API server command line flags,
@@ -466,7 +466,7 @@ equal to `""` is always interpreted to be requesting a PV with no class, so it
466466
can only be bound to PVs with no class (no annotation or one set equal to
467467
`""`). A PVC with no `storageClassName` is not quite the same and is treated differently
468468
by the cluster depending on whether the
469-
[`DefaultStorageClass` admission plugin](/docs/admin/admission-controllers/#defaultstorageclass)
469+
[`DefaultStorageClass` admission plugin](/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass)
470470
is turned on.
471471

472472
* If the admission plugin is turned on, the administrator may specify a

content/en/docs/concepts/workloads/controllers/garbage-collection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ the owner object.
8989

9090
Note that in the "foregroundDeletion", only dependents with
9191
`ownerReference.blockOwnerDeletion` block the deletion of the owner object.
92-
Kubernetes version 1.7 added an [admission controller](/docs/admin/admission-controllers/#ownerreferencespermissionenforcement) that controls user access to set
92+
Kubernetes version 1.7 added an [admission controller](/docs/reference/access-authn-authz/admission-controllers/#ownerreferencespermissionenforcement) that controls user access to set
9393
`blockOwnerDeletion` to true based on delete permissions on the owner object, so that
9494
unauthorized dependents cannot delay deletion of an owner object.
9595

content/en/docs/reference/access-authn-authz/rbac.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ The permissions required by individual control loops are contained in the <a hre
556556
<td><b>system:node</b></td>
557557
<td>None in 1.8+</td>
558558
<td>Allows access to resources required by the kubelet component, <b>including read access to all secrets, and write access to all pod status objects</b>.
559-
As of 1.7, use of the <a href="/docs/admin/authorization/node/">Node authorizer</a> and <a href="/docs/admin/admission-controllers/#noderestriction">NodeRestriction admission plugin</a> is recommended instead of this role, and allow granting API access to kubelets based on the pods scheduled to run on them.
559+
As of 1.7, use of the <a href="/docs/admin/authorization/node/">Node authorizer</a> and <a href="/docs/reference/access-authn-authz/admission-controllers/#noderestriction">NodeRestriction admission plugin</a> is recommended instead of this role, and allow granting API access to kubelets based on the pods scheduled to run on them.
560560
Prior to 1.7, this role was automatically bound to the `system:nodes` group.
561561
In 1.7, this role was automatically bound to the `system:nodes` group if the `Node` authorization mode is not enabled.
562562
In 1.8+, no binding is automatically created.

content/en/docs/reference/setup-tools/kubeadm/implementation-details.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -239,17 +239,17 @@ Other API server flags that are set unconditionally are:
239239
- `--allow-privileged` to `true` (required e.g. by kube proxy)
240240
- `--requestheader-client-ca-file` to `front-proxy-ca.crt`
241241
- `--enable-admission-plugins` to:
242-
- [`Initializers`](/docs/admin/admission-controllers/#initializers-alpha) to enable [Dynamic Admission Control](/docs/admin/extensible-admission-controllers/).
243-
- [`NamespaceLifecycle`](/docs/admin/admission-controllers/#namespacelifecycle) e.g. to avoid deletion of
242+
- [`Initializers`](/docs/reference/access-authn-authz/admission-controllers/#initializers-alpha) to enable [Dynamic Admission Control](/docs/admin/extensible-admission-controllers/).
243+
- [`NamespaceLifecycle`](/docs/reference/access-authn-authz/admission-controllers/#namespacelifecycle) e.g. to avoid deletion of
244244
system reserved namespaces
245-
- [`LimitRanger`](/docs/admin/admission-controllers/#limitranger) and [`ResourceQuota`](/docs/admin/admission-controllers/#resourcequota) to enforce limits on namespaces
246-
- [`ServiceAccount`](/docs/admin/admission-controllers/#serviceaccount) to enforce service account automation
247-
- [`PersistentVolumeLabel`](/docs/admin/admission-controllers/#persistentvolumelabel) attaches region or zone labels to
245+
- [`LimitRanger`](/docs/reference/access-authn-authz/admission-controllers/#limitranger) and [`ResourceQuota`](/docs/reference/access-authn-authz/admission-controllers/#resourcequota) to enforce limits on namespaces
246+
- [`ServiceAccount`](/docs/reference/access-authn-authz/admission-controllers/#serviceaccount) to enforce service account automation
247+
- [`PersistentVolumeLabel`](/docs/reference/access-authn-authz/admission-controllers/#persistentvolumelabel) attaches region or zone labels to
248248
PersistentVolumes as defined by the cloud provider (This admission controller is deprecated and will be removed in a future version.
249249
It is not deployed by kubeadm by default with v1.9 onwards when not explicitly opting into using `gce` or `aws` as cloud providers)
250-
- [`DefaultStorageClass`](/docs/admin/admission-controllers/#defaultstorageclass) to enforce default storage class on `PersistentVolumeClaim` objects
251-
- [`DefaultTolerationSeconds`](/docs/admin/admission-controllers/#defaulttolerationseconds)
252-
- [`NodeRestriction`](/docs/admin/admission-controllers/#noderestriction) to limit what a kubelet can modify
250+
- [`DefaultStorageClass`](/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass) to enforce default storage class on `PersistentVolumeClaim` objects
251+
- [`DefaultTolerationSeconds`](/docs/reference/access-authn-authz/admission-controllers/#defaulttolerationseconds)
252+
- [`NodeRestriction`](/docs/reference/access-authn-authz/admission-controllers/#noderestriction) to limit what a kubelet can modify
253253
(e.g. only pods on this node)
254254
- `--kubelet-preferred-address-types` to `InternalIP,ExternalIP,Hostname;` this makes `kubectl logs` and other API server-kubelet
255255
communication work in environments where the hostnames of the nodes aren't resolvable

content/en/docs/tasks/administer-cluster/securing-a-cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ set of permissions bundled into roles. These permissions combine verbs (get, cre
5656
resources (pods, services, nodes) and can be namespace or cluster scoped. A set of out of the box
5757
roles are provided that offer reasonable default separation of responsibility depending on what
5858
actions a client might want to perform. It is recommended that you use the [Node](/docs/admin/authorization/node/) and [RBAC](/docs/admin/authorization/rbac/) authorizers together, in combination with the
59-
[NodeRestriction](/docs/admin/admission-controllers/#noderestriction) admission plugin.
59+
[NodeRestriction](/docs/reference/access-authn-authz/admission-controllers/#noderestriction) admission plugin.
6060

6161
As with authentication, simple and broad roles may be appropriate for smaller clusters, but as
6262
more users interact with the cluster, it may become necessary to separate teams into separate

0 commit comments

Comments
 (0)