qos

package
v1.28.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 61

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodQOS

func GetPodQOS(pod *core.Pod) core.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. When this function is updated please also update staging/src/k8s.io/kubectl/pkg/util/qos/qos.go

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL