kubeEleven

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 9 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 {
	K8sCluster *pb.K8Scluster
	LBClusters []*pb.LBcluster
	// contains filtered or unexported fields
}

KubeEleven struct K8sCluster - *pb.K8sCluster that will be set up LBClusters - slice of *pb.LBClusters which can be used as loadbalancer for specified K8sCluster

When nil, endpoint is set to be first master node

func (*KubeEleven) BuildCluster

func (k *KubeEleven) BuildCluster() error

Apply will create all necessary files and apply kubeone, which will set up the cluster completely return nil if successful, error otherwise

type NodeInfo

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

type NodepoolInfo added in v0.1.1

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

Jump to

Keyboard shortcuts

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