package resourcedefaults
import "k8s.io/kubernetes/plugin/pkg/admission/resourcedefaults"
Package resourcedefaults contains an example plug-in that cluster operators can use to prevent unlimited CPU and Memory usage for a container. It intercepts all pod create and update requests and applies a default Memory and CPU quantity if none is supplied. This plug-in can be enhanced in the future to make the default value configurable via the admission control configuration file.
Index ¶
Functions ¶
func NewResourceDefaults ¶
Source Files ¶
admission.go doc.go
- Version
- v0.14.0
- Published
- Mar 30, 2015
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 54 seconds ago –
Tools for package owners.