Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kubeadm is the kubeadm bootstrapper type Kubeadm = "kubeadm" KIC = "kic" )
View Source
const ( // CACertificatesDir contains CA certificates CACertificatesDir = "/usr/share/ca-certificates" // SSLCertStoreDir contains SSL certificates SSLCertStoreDir = "/etc/ssl/certs" )
Variables ¶
This section is empty.
Functions ¶
func GetCachedBinaryList ¶ added in v1.0.1
GetCachedBinaryList returns the list of binaries
func GetCachedImageList ¶ added in v0.22.2
func GetCachedImageList(imageRepository string, version string, bootstrapper string) ([]string, error)
GetCachedImageList returns the list of images for a version
func SetupCerts ¶
func SetupCerts(cmd command.Runner, k8s config.KubernetesConfig) error
SetupCerts gets the generated credentials required to talk to the APIServer.
Types ¶
type Bootstrapper ¶
type Bootstrapper interface { // PullImages pulls images necessary for a cluster. Success should not be required. PullImages(config.KubernetesConfig) error StartCluster(config.KubernetesConfig) error UpdateCluster(config.MachineConfig) error DeleteCluster(config.KubernetesConfig) error WaitForCluster(config.KubernetesConfig, time.Duration) error // LogCommands returns a map of log type to a command which will display that log. LogCommands(LogOptions) map[string]string SetupCerts(cfg config.KubernetesConfig) error GetKubeletStatus() (string, error) GetAPIServerStatus(net.IP, int) (string, error) }
Bootstrapper contains all the methods needed to bootstrap a kubernetes cluster
type LogOptions ¶ added in v0.34.0
type LogOptions struct { // Lines is the number of recent log lines to include, as in tail -n. Lines int // Follow is whether or not to actively follow the logs, as in tail -f. Follow bool }
LogOptions are options to be passed to LogCommands
Directories ¶
Path | Synopsis |
---|---|
Package bsutil package will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one
|
Package bsutil package will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one Package bsutil will eventually be renamed to kubeadm package after getting rid of older one |
kverify
Package kverify verifies a running kubernetes cluster is healthy
|
Package kverify verifies a running kubernetes cluster is healthy |
Package images implements helpers for getting image names
|
Package images implements helpers for getting image names |
Package kicbs bootstrapper for kic Package kicbs bootstrapper for kic
|
Package kicbs bootstrapper for kic Package kicbs bootstrapper for kic |
Click to show internal directories.
Click to hide internal directories.