k8sports

package
v0.0.0-...-b44688a Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodQOS

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

GetPodQOS returns pod's QOS class. BestEffort - if none of it's containers have specified request or limits (CPU and Mem). Guaranteed - if across all containers request equals limits (CPU and Mem) Burstable - if across all containers requests and limits differs (CPU and Mem)

func IsPodReady

func IsPodReady(pod *v1.Pod) bool

IsPodReady returns true if Pod has condition ready fulfilled

Types

This section is empty.

Jump to

Keyboard shortcuts

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