Documentation ¶
Index ¶
- type Bootstrapper
- func (k *Bootstrapper) DeleteCluster(k8s config.KubernetesConfig) error
- func (k *Bootstrapper) GetAPIServerStatus(ip net.IP, port int) (string, error)
- func (k *Bootstrapper) GetKubeletStatus() (string, error)
- func (k *Bootstrapper) LogCommands(o bootstrapper.LogOptions) map[string]string
- func (k *Bootstrapper) SetupCerts(k8s config.KubernetesConfig, n config.Node) error
- func (k *Bootstrapper) StartCluster(cfg config.ClusterConfig) error
- func (k *Bootstrapper) UpdateCluster(cfg config.ClusterConfig) error
- func (k *Bootstrapper) WaitForCluster(cfg config.ClusterConfig, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶ added in v1.0.0
type Bootstrapper struct {
// contains filtered or unexported fields
}
Bootstrapper is a bootstrapper using kubeadm
func NewBootstrapper ¶ added in v1.7.0
func NewBootstrapper(api libmachine.API, cc config.ClusterConfig, n config.Node) (*Bootstrapper, error)
NewBootstrapper creates a new kubeadm.Bootstrapper TODO(#6891): Remove node as an argument
func (*Bootstrapper) DeleteCluster ¶ added in v1.0.0
func (k *Bootstrapper) DeleteCluster(k8s config.KubernetesConfig) error
DeleteCluster removes the components that were started earlier
func (*Bootstrapper) GetAPIServerStatus ¶ added in v1.0.0
GetAPIServerStatus returns the api-server status
func (*Bootstrapper) GetKubeletStatus ¶ added in v1.0.0
func (k *Bootstrapper) GetKubeletStatus() (string, error)
GetKubeletStatus returns the kubelet status
func (*Bootstrapper) LogCommands ¶ added in v1.0.0
func (k *Bootstrapper) LogCommands(o bootstrapper.LogOptions) map[string]string
LogCommands returns a map of log type to a command which will display that log.
func (*Bootstrapper) SetupCerts ¶ added in v1.0.0
func (k *Bootstrapper) SetupCerts(k8s config.KubernetesConfig, n config.Node) error
SetupCerts sets up certificates within the cluster.
func (*Bootstrapper) StartCluster ¶ added in v1.0.0
func (k *Bootstrapper) StartCluster(cfg config.ClusterConfig) error
StartCluster starts the cluster
func (*Bootstrapper) UpdateCluster ¶ added in v1.0.0
func (k *Bootstrapper) UpdateCluster(cfg config.ClusterConfig) error
UpdateCluster updates the cluster
func (*Bootstrapper) WaitForCluster ¶ added in v1.6.0
func (k *Bootstrapper) WaitForCluster(cfg config.ClusterConfig, timeout time.Duration) error
WaitForCluster blocks until the cluster appears to be healthy
Click to show internal directories.
Click to hide internal directories.