client-gok8s.io/client-go/pkg/api/helper/qos Index | Files

package qos

import "k8s.io/client-go/pkg/api/helper/qos"

NOTE: DO NOT use those helper functions through client-go, the package path will be changed in the future.

Index

Functions

func GetPodQOS

func GetPodQOS(pod *api.Pod) api.PodQOSClass

GetPodQOS returns the QoS class of a pod. A pod is besteffort if none of its containers have specified any requests or limits. A pod is guaranteed only when requests and limits are specified for all the containers and they are equal. A pod is burstable if limits and requests do not match across all containers.

Source Files

qos.go

Version
v4.0.0-beta.0+incompatible
Published
Jul 7, 2017
Platform
js/wasm
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.