cluster

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusCreating = "CREATING"
	StatusActive   = "ACTIVE"
	StatusDeleting = "DELETING"
	StatusFailed   = "FAILED"
	StatusUpdating = "UPDATING"
	StatusPending  = "PENDING"
)

Taken from the list of cluster statuses on the boto3 documentation https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/eks.html#EKS.Client.describe_cluster

View Source
const (
	FinalizerString = "finalizers.eks.services.k8s.aws/Cluster"
)
View Source
const (
	LoggingNoChangesError = "No changes needed for the logging config provided"
)

Variables

View Source
var (
	GroupVersionResource = svcapitypes.GroupVersion.WithResource("clusters")
	GroupKind            = metav1.GroupKind{
		Group: "eks.services.k8s.aws",
		Kind:  "Cluster",
	}
)
View Source
var (
	ACKSystemTags = []string{"services.k8s.aws/namespace", "services.k8s.aws/controller-version"}
)
View Source
var (
	RequeueAfterUpdateDuration = 15 * time.Second
)
View Source
var (
	// TerminalStatuses are the status strings that are terminal states for a
	// cluster.
	TerminalStatuses = []string{
		StatusDeleting,
		StatusFailed,
	}
)

Functions

func GetForceUpgrade added in v1.7.0

func GetForceUpgrade(
	m *metav1.ObjectMeta,
) bool

GetForceUpgrade returns whether the cluster version upgrade should be forced as determined by the annotation on the object, or the default value otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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