Documentation ¶
Index ¶
- Constants
- func DaemonSetsRecreated(client k8sclient.Client, options *k8sclient.ListOptions) (bool, error)
- func PodManagersRecreated(client k8sclient.Client, options *k8sclient.ListOptions) (bool, error)
- func PodsUnhealthy(client k8sclient.Client, options *k8sclient.ListOptions) (*[]unstructured.Unstructured, error)
Constants ¶
View Source
const ( // ImagePullBackOff is unhealthy container state ImagePullBackOff = "ImagePullBackOff" // CrashLoopBackOff is unhealthy container state CrashLoopBackOff = "CrashLoopBackOff" )
Variables ¶
This section is empty.
Functions ¶
func DaemonSetsRecreated ¶
DaemonSetsRecreated checks the number of pod replicas managed by DaemonSets
func PodManagersRecreated ¶
PodManagersRecreated does verify that ReplicaSets, Deployments, Statefulsets and DeploymentConfigs pod replicas match expected number
func PodsUnhealthy ¶
func PodsUnhealthy(client k8sclient.Client, options *k8sclient.ListOptions) (*[]unstructured.Unstructured, error)
PodsUnhealthy would collect unhealthy pods in a specific namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.