types

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCoolDownTime       = 2 * time.Minute
	DefaultHealthCheckTimeout = 10 * time.Second
	CmdTimeout                = 10 * time.Second
	UptimeTimeLayout          = "Mon 2006-01-02 15:04:05 UTC"
	LogParsingTimeLayout      = "2006-01-02 15:04:05"

	DefaultCriCtl        = "/usr/bin/crictl"
	DefaultCriSocketPath = "unix:///var/run/containerd/containerd.sock"

	KubeletComponent  = "kubelet"
	CRIComponent      = "cri"
	DockerComponent   = "docker"
	ContainerdService = "containerd"

	KubeletHealthCheckEndpoint                      = "http://127.0.0.1:10248/healthz"
	KubeletClosedConnectionLogPattern               = "use of closed network connection"
	KubeletClosedConnectionLogPatternThresholdCount = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

type HealthChecker interface {
	CheckHealth() (bool, error)
}

Jump to

Keyboard shortcuts

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