Skip to content

API Reference

Packages

lke.anza-labs.dev/v1alpha1

Package v1alpha1 contains API Schema definitions for the lke v1alpha1 API group

Resource Types

LKEClusterConfig

LKEClusterConfig is the Schema for the lkeclusterconfigs API.

Field Description Default Validation
apiVersion string lke.anza-labs.dev/v1alpha1
kind string LKEClusterConfig
metadata ObjectMeta Refer to Kubernetes API documentation for fields of metadata.
spec LKEClusterConfigSpec
status LKEClusterConfigStatus

LKEClusterConfigSpec

LKEClusterConfigSpec defines the desired state of an LKEClusterConfig resource.

Appears in: - LKEClusterConfig

Field Description Default Validation
region string Region is the geographical region where the LKE cluster will be provisioned. Required: {}
tokenSecretRef SecretRef TokenSecretRef references the Kubernetes secret that stores the Linode API token.
If not provided, then default token will be used.
Required: {}
highAvailability boolean HighAvailability specifies whether the LKE cluster should be configured for high
availability.
false Optional: {}
nodePools object (keys:string, values:LKENodePool) NodePools contains the specifications for each node pool within the LKE cluster. MinProperties: 1
Required: {}
kubernetesVersion string KubernetesVersion indicates the Kubernetes version of the LKE cluster. latest Optional: {}

LKEClusterConfigStatus

LKEClusterConfigStatus defines the observed state of an LKEClusterConfig resource.

Appears in: - LKEClusterConfig

Field Description Default Validation
phase Phase Phase represents the current phase of the LKE cluster. Unknown Enum: [Active Deleting Error Provisioning Unknown Updating]
Optional: {}
clusterID integer ClusterID contains the ID of the provisioned LKE cluster. Optional: {}
nodePoolStatuses object (keys:string, values:NodePoolStatus) NodePoolStatuses contains the Status of the provisioned node pools within the LKE cluster. Optional: {}
failureMessage string FailureMessage contains an optional failure message for the LKE cluster. Optional: {}

LKENodePool

LKENodePool represents a pool of nodes within the LKE cluster.

Appears in: - LKEClusterConfigSpec - NodePoolStatus

Field Description Default Validation
nodeCount integer NodeCount specifies the number of nodes in the node pool. Required: {}
linodeType string LinodeType specifies the Linode instance type for the nodes in the pool. Required: {}
autoscaler LKENodePoolAutoscaler Autoscaler specifies the autoscaling configuration for the node pool. Optional: {}

LKENodePoolAutoscaler

LKENodePoolAutoscaler represents the autoscaler configuration for a node pool.

Appears in: - LKENodePool

Field Description Default Validation
min integer Min specifies the minimum number of nodes in the pool. Maximum: 100
Minimum: 0
Required: {}
max integer Max specifies the maximum number of nodes in the pool. Maximum: 100
Minimum: 3
Required: {}

NodePoolStatus

NodePoolStatus

Appears in: - LKEClusterConfigStatus

Field Description Default Validation
id integer ID Optional: {}
details LKENodePool NodePoolDetails Required: {}

Phase

Underlying type: string

Validation: - Enum: [Active Deleting Error Provisioning Unknown Updating]

Appears in: - LKEClusterConfigStatus

SecretRef

SecretRef references a Kubernetes secret.

Appears in: - LKEClusterConfigSpec

Field Description Default Validation
namespace string
name string