kubernetes

package
v0.0.0-...-7de36fb Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrapper

type Bootstrapper struct {
	// contains filtered or unexported fields
}

Bootstrapper communicates with the agent inside the control-plane VM after Kubernetes was initialized.

func NewBootstrapper

func NewBootstrapper(log *zap.Logger, nodes *config.NodeInformation, k8sConfig []byte) (*Bootstrapper, error)

NewBootstrapper creates a new agent object.

func (*Bootstrapper) BootstrapKubernetes

func (a *Bootstrapper) BootstrapKubernetes(ctx context.Context) (*config.EtcdCredentials, error)

BootstrapKubernetes initializes the kubernetes cluster.

func (*Bootstrapper) InstallKubernetes

func (a *Bootstrapper) InstallKubernetes(ctx context.Context, kubernetesInitConfiguration []byte) (err error)

InstallKubernetes initializes a kubernetes cluster using the gRPC API.

func (*Bootstrapper) JoinClusterCoordinator

func (a *Bootstrapper) JoinClusterCoordinator(ctx context.Context, joinToken *kubeadm.BootstrapTokenDiscovery) (err error)

JoinClusterCoordinator coordinates cluster joining for all worker nodes.

Jump to

Keyboard shortcuts

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