Documentation
¶
Overview ¶
Package kverify verifies a running kubernetes cluster is healthy
Index ¶
- func APIServerStatus(cr command.Runner, ip net.IP, port int) (state.State, error)
- func APIServerVersionMatch(client *kubernetes.Clientset, expected string) error
- func ExpectedComponentsRunning(cs *kubernetes.Clientset) error
- func KubeletStatus(cr command.Runner) (state.State, error)
- func WaitForAPIServerProcess(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, ...) error
- func WaitForHealthyAPIServer(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, ...) error
- func WaitForSystemPods(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIServerStatus ¶
APIServerStatus returns apiserver status in libmachine style state.State
func APIServerVersionMatch ¶ added in v1.9.0
func APIServerVersionMatch(client *kubernetes.Clientset, expected string) error
func ExpectedComponentsRunning ¶ added in v1.9.0
func ExpectedComponentsRunning(cs *kubernetes.Clientset) error
ExpectedComponentsRunning returns whether or not all expected components are running
func KubeletStatus ¶
KubeletStatus checks the kubelet status
func WaitForAPIServerProcess ¶ added in v1.9.0
func WaitForAPIServerProcess(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, cr command.Runner, start time.Time, timeout time.Duration) error
WaitForAPIServerProcess waits for api server to be healthy returns error if it doesn't
func WaitForHealthyAPIServer ¶ added in v1.9.0
func WaitForHealthyAPIServer(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, cr command.Runner, client *kubernetes.Clientset, start time.Time, ip string, port int, timeout time.Duration) error
WaitForHealthyAPIServer waits for api server status to be running
func WaitForSystemPods ¶ added in v1.9.0
func WaitForSystemPods(r cruntime.Manager, bs bootstrapper.Bootstrapper, cfg config.ClusterConfig, cr command.Runner, client *kubernetes.Clientset, start time.Time, timeout time.Duration) error
WaitForSystemPods verifies essential pods for running kurnetes is running
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.