kubernetesk8s.io/kubernetes/pkg/kubelet/qos/util Index | Files

package util

import "k8s.io/kubernetes/pkg/kubelet/qos/util"

Index

Constants

const (
	Guaranteed = "Guaranteed"
	Burstable  = "Burstable"
	BestEffort = "BestEffort"
)

Functions

func GetPodQos

func GetPodQos(pod *api.Pod) string

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
js/wasm
Imports
2 packages
Last checked
14 seconds ago

Tools for package owners.