kube_eleven

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeEleven

type KubeEleven struct {

	// Kubernetes cluster that will be set up.
	K8sCluster *pb.K8Scluster
	// LB clusters attached to the above Kubernetes cluster.
	// If nil, the first control node becomes the api endpoint of the cluster.
	LBClusters []*pb.LBcluster

	// SpawnProcessLimit represents a synchronization channel which limits the number of spawned kubeone
	// processes. This values must be non-nil and be buffered, where the capacity indicates
	// the limit.
	SpawnProcessLimit chan struct{}
	// contains filtered or unexported fields
}

func (*KubeEleven) BuildCluster

func (k *KubeEleven) BuildCluster() error

BuildCluster is responsible for managing the given K8sCluster along with the attached LBClusters using Kubeone.

func (*KubeEleven) DestroyCluster added in v0.6.2

func (k *KubeEleven) DestroyCluster() error

type NodeInfo

type NodeInfo struct {
	Node *pb.Node
	Name string
}

NodeInfo struct holds data necessary to define node in the node pool.

type NodepoolInfo

type NodepoolInfo struct {
	Nodes             []*NodeInfo
	IsDynamic         bool
	NodepoolName      string
	Region            string
	Zone              string
	CloudProviderName string
	ProviderName      string
}

NodepoolInfo struct holds data necessary to define nodes in kubeone manifest.

Jump to

Keyboard shortcuts

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