package util
import "k8s.io/kubernetes/pkg/kubelet/qos/util"
Index ¶
- Constants
- func GetPodQos(pod *api.Pod) string
- func GetQoS(container *api.Container) map[api.ResourceName]string
Constants ¶
const ( Guaranteed = "Guaranteed" Burstable = "Burstable" BestEffort = "BestEffort" )
Functions ¶
func GetPodQos ¶
GetPodQos returns the QoS class of a pod. The QoS class of a pod is the lowest QoS class for each resource in each container.
func GetQoS ¶
func GetQoS(container *api.Container) map[api.ResourceName]string
GetQos returns a mapping of resource name to QoS class of a container
Source Files ¶
qos.go
- Version
- v1.3.0-alpha.4
- Published
- May 17, 2016
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 21 minutes ago –
Tools for package owners.