Hugo: Fix admin/admission-controllers (#8481)
Fix a list that was formatted as paragraph due to missing newline. Fix URLs so that they go to new location.
This commit is contained in:
committed by
k8s-ci-robot
parent
407f73de53
commit
034a7c3fb9
@@ -21,7 +21,7 @@ is authenticated and authorized. The controllers consist of the
|
|||||||
administrator. In that list, there are two special controllers:
|
administrator. In that list, there are two special controllers:
|
||||||
MutatingAdmissionWebhook and ValidatingAdmissionWebhook. These execute the
|
MutatingAdmissionWebhook and ValidatingAdmissionWebhook. These execute the
|
||||||
mutating and validating (respectively) [admission control
|
mutating and validating (respectively) [admission control
|
||||||
webhooks](/docs/admin/extensible-admission-controllers.md#external-admission-webhooks)
|
webhooks](/docs/admin/extensible-admission-controllers/#external-admission-webhooks)
|
||||||
which are configured in the API.
|
which are configured in the API.
|
||||||
|
|
||||||
Admission controllers may be "validating", "mutating", or both. Mutating
|
Admission controllers may be "validating", "mutating", or both. Mutating
|
||||||
@@ -224,7 +224,8 @@ plugins:
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
The ImagePolicyWebhook config file must reference a [kubeconfig](/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/) formatted file which sets up the connection to the backend. It is required that the backend communicate over TLS.
|
The ImagePolicyWebhook config file must reference a [kubeconfig](docs/tasks/access-application-cluster/configure-access-multiple-clusters/)
|
||||||
|
formatted file which sets up the connection to the backend. It is required that the backend communicate over TLS.
|
||||||
|
|
||||||
The kubeconfig file's cluster field must point to the remote service, and the user field must contain the returned authorizer.
|
The kubeconfig file's cluster field must point to the remote service, and the user field must contain the returned authorizer.
|
||||||
|
|
||||||
@@ -243,7 +244,7 @@ users:
|
|||||||
client-certificate: /path/to/cert.pem # cert for the webhook admission controller to use
|
client-certificate: /path/to/cert.pem # cert for the webhook admission controller to use
|
||||||
client-key: /path/to/key.pem # key matching the cert
|
client-key: /path/to/key.pem # key matching the cert
|
||||||
```
|
```
|
||||||
For additional HTTP configuration, refer to the [kubeconfig](/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/) documentation.
|
For additional HTTP configuration, refer to the [kubeconfig](docs/tasks/access-application-cluster/configure-access-multiple-clusters/) documentation.
|
||||||
|
|
||||||
#### Request Payloads
|
#### Request Payloads
|
||||||
|
|
||||||
@@ -318,7 +319,7 @@ In any case, the annotations are provided by the user and are not validated by K
|
|||||||
The admission controller determines the initializers of a resource based on the existing
|
The admission controller determines the initializers of a resource based on the existing
|
||||||
`InitializerConfiguration`s. It sets the pending initializers by modifying the
|
`InitializerConfiguration`s. It sets the pending initializers by modifying the
|
||||||
metadata of the resource to be created.
|
metadata of the resource to be created.
|
||||||
For more information, please check [Dynamic Admission Control](/docs/admin/extensible-admission-controllers.md).
|
For more information, please check [Dynamic Admission Control](/docs/admin/extensible-admission-controllers/).
|
||||||
|
|
||||||
### InitialResources (experimental)
|
### InitialResources (experimental)
|
||||||
|
|
||||||
@@ -344,7 +345,7 @@ your Kubernetes deployment, you MUST use this admission controller to enforce th
|
|||||||
be used to apply default resource requests to Pods that don't specify any; currently, the default LimitRanger
|
be used to apply default resource requests to Pods that don't specify any; currently, the default LimitRanger
|
||||||
applies a 0.1 CPU requirement to all Pods in the `default` namespace.
|
applies a 0.1 CPU requirement to all Pods in the `default` namespace.
|
||||||
|
|
||||||
See the [limitRange design doc](https://git.k8s.io/community/contributors/design-proposals/resource-management/admission_control_limit_range.md) and the [example of Limit Range](/docs/tasks/configure-pod-container/limit-range/) for more details.
|
See the [limitRange design doc](https://git.k8s.io/community/contributors/design-proposals/resource-management/admission_control_limit_range.md) and the [example of Limit Range](/docs/tasks/administer-cluster/memory-default-namespace/) for more details.
|
||||||
|
|
||||||
### MutatingAdmissionWebhook (beta in 1.9)
|
### MutatingAdmissionWebhook (beta in 1.9)
|
||||||
|
|
||||||
@@ -466,6 +467,7 @@ metadata:
|
|||||||
|
|
||||||
#### Internal Behavior
|
#### Internal Behavior
|
||||||
This admission controller has the following behavior:
|
This admission controller has the following behavior:
|
||||||
|
|
||||||
1. If the `Namespace` has an annotation with a key `scheduler.alpha.kubernetes.io/node-selector`, use its value as the
|
1. If the `Namespace` has an annotation with a key `scheduler.alpha.kubernetes.io/node-selector`, use its value as the
|
||||||
node selector.
|
node selector.
|
||||||
1. If the namespace lacks such an annotation, use the `clusterDefaultNodeSelector` defined in the `PodNodeSelector`
|
1. If the namespace lacks such an annotation, use the `clusterDefaultNodeSelector` defined in the `PodNodeSelector`
|
||||||
@@ -561,11 +563,11 @@ See the [resourceQuota design doc](https://git.k8s.io/community/contributors/des
|
|||||||
|
|
||||||
### SecurityContextDeny
|
### SecurityContextDeny
|
||||||
|
|
||||||
This admission controller will deny any pod that attempts to set certain escalating [SecurityContext](/docs/user-guide/security-context) fields. This should be enabled if a cluster doesn't utilize [pod security policies](/docs/user-guide/pod-security-policy) to restrict the set of values a security context can take.
|
This admission controller will deny any pod that attempts to set certain escalating [SecurityContext](/docs/tasks/configure-pod-container/security-context/) fields. This should be enabled if a cluster doesn't utilize [pod security policies](/docs/concepts/policy/pod-security-policy/) to restrict the set of values a security context can take.
|
||||||
|
|
||||||
### ServiceAccount
|
### ServiceAccount
|
||||||
|
|
||||||
This admission controller implements automation for [serviceAccounts](/docs/user-guide/service-accounts).
|
This admission controller implements automation for [serviceAccounts](/docs/tasks/configure-pod-container/configure-service-account/).
|
||||||
We strongly recommend using this admission controller if you intend to make use of Kubernetes `ServiceAccount` objects.
|
We strongly recommend using this admission controller if you intend to make use of Kubernetes `ServiceAccount` objects.
|
||||||
|
|
||||||
### Storage Object in Use Protection (beta)
|
### Storage Object in Use Protection (beta)
|
||||||
|
|||||||
Reference in New Issue
Block a user