cluster

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureCluster

func ConfigureCluster(ctx context.Context, cfg config.Config, clients config.Clients, testConfig config.TestConfig) error

ConfigureCluster reconfigures the cluster, changing the encapsulation and dataplane.

func SetCalicoNodeCPULimit

func SetCalicoNodeCPULimit(ctx context.Context, clients config.Clients, limit string) error

SetCalicoNodeCPULimit sets the CPU limit for calico-node pods. 0 means remove the limit.

func SetupStandingConfig

func SetupStandingConfig(ctx context.Context, clients config.Clients, testConfig config.TestConfig, namespace string, webServerImage string) error

SetupStandingConfig sets up standing config in the cluster, if needed

Types

type Details

type Details struct {
	Cloud            string
	Provisioner      string
	NodeType         string
	NodeOS           string
	NodeKernel       string
	NodeArch         string
	NumNodes         int
	Dataplane        string
	IPFamily         string
	Encapsulation    string
	WireguardEnabled bool
	Product          string
	CalicoVersion    string
	K8SVersion       string
	CRIVersion       string
	CNIOption        string
}

Details is a struct that contains details about the cluster for reporting with results

func GetClusterDetails

func GetClusterDetails(ctx context.Context, clients config.Clients) (Details, error)

GetClusterDetails gets details about the cluster

Jump to

Keyboard shortcuts

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