mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Added documentation of Initial Resources plugin.
This commit is contained in:
parent
4264aac1e9
commit
4abe33458e
@ -49,6 +49,7 @@ Documentation for other releases can be found at
|
|||||||
- [SecurityContextDeny](#securitycontextdeny)
|
- [SecurityContextDeny](#securitycontextdeny)
|
||||||
- [ResourceQuota](#resourcequota)
|
- [ResourceQuota](#resourcequota)
|
||||||
- [LimitRanger](#limitranger)
|
- [LimitRanger](#limitranger)
|
||||||
|
- [InitialResources (experimental)](#initialresources-experimental)
|
||||||
- [NamespaceExists (deprecated)](#namespaceexists-deprecated)
|
- [NamespaceExists (deprecated)](#namespaceexists-deprecated)
|
||||||
- [NamespaceAutoProvision (deprecated)](#namespaceautoprovision-deprecated)
|
- [NamespaceAutoProvision (deprecated)](#namespaceautoprovision-deprecated)
|
||||||
- [NamespaceLifecycle](#namespacelifecycle)
|
- [NamespaceLifecycle](#namespacelifecycle)
|
||||||
@ -142,6 +143,15 @@ applies a 0.1 CPU requirement to all Pods in the `default` namespace.
|
|||||||
|
|
||||||
See the [limitRange design doc](../design/admission_control_limit_range.md) and the [example of Limit Range](limitrange/) for more details.
|
See the [limitRange design doc](../design/admission_control_limit_range.md) and the [example of Limit Range](limitrange/) for more details.
|
||||||
|
|
||||||
|
### InitialResources (experimental)
|
||||||
|
|
||||||
|
This plug-in observes pod creation requests. If a container omits compute resource requests and limits,
|
||||||
|
then the plug-in auto-populates a compute resource request based on historical usage of containers running the same image.
|
||||||
|
If there is not enough data to make a decision the Request is left unchanged.
|
||||||
|
When the plug-in sets a compute resource request, it annotates the pod with information on what compute resources it auto-populated.
|
||||||
|
|
||||||
|
See the [InitialResouces proposal](../proposals/initial-resources.md) for more details.
|
||||||
|
|
||||||
### NamespaceExists (deprecated)
|
### NamespaceExists (deprecated)
|
||||||
|
|
||||||
This plug-in will observe all incoming requests that attempt to create a resource in a Kubernetes `Namespace`
|
This plug-in will observe all incoming requests that attempt to create a resource in a Kubernetes `Namespace`
|
||||||
|
Loading…
Reference in New Issue
Block a user