Cluster API reference
Packages:
cluster.kurator.dev/v1alpha1
Package v1alpha1 contains API Schema definitions for the cluster v1alpha1 API group
Resource Types:AttachedCluster
AttachedCluster is the schema for the external cluster that are not created by kurator.
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
cluster.kurator.dev/v1alpha1
|
||
kindstring |
AttachedCluster
|
||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specAttachedClusterSpec |
|
||
statusAttachedClusterStatus |
Cluster
Cluster is the schema for the cluster’s API
| Field | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
cluster.kurator.dev/v1alpha1
|
||||||||||||||||||
kindstring |
Cluster
|
||||||||||||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||
specClusterSpec |
|
||||||||||||||||||
statusClusterStatus |
AttachedClusterSpec
(Appears on: AttachedCluster)
| Field | Description |
|---|---|
kubeconfigSecretKeyRef |
(Optional)
Kubeconfig represents the secret that contains the credential to access this cluster. |
AttachedClusterStatus
(Appears on: AttachedCluster)
| Field | Description |
|---|---|
readybool |
(Optional)
Ready indicates whether the cluster is ready to be registered with Kurator Fleet. |
CIDRBlocks
([]string alias)
(Appears on: NetworkConfig)
CNIConfig
(Appears on: NetworkConfig)
| Field | Description |
|---|---|
typestring |
Type is the type of CNI. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments for CNI. |
ClusterInfraType
(string alias)
(Appears on: ClusterSpec)
ClusterPhase
(string alias)
ClusterPhase is a string representation of the cluster’s phase.
ClusterSpec
(Appears on: Cluster)
ClusterSpec defines the desired state of the Cluster
| Field | Description |
|---|---|
infraTypeClusterInfraType |
InfraType is the infra type of the cluster. |
credentialCredentialConfig |
(Optional)
Credential is the credential used to access the cloud provider. |
versionstring |
Version is the Kubernetes version to use for the cluster. |
regionstring |
Region is the region to deploy the cluster. |
networkNetworkConfig |
Network is the network configuration for the cluster. |
masterMasterConfig |
Master is the configuration for the master node. |
workers[]WorkerConfig |
Workers is the list of worker nodes. |
podIdentityPodIdentityConfig |
(Optional)
PodIdentity is the configuration for the pod identity. |
additionalResources[]ResourceRef |
(Optional)
AdditionalResources provides a way to automatically apply a set of resources to cluster after it’s ready. Note: the resources will only apply once. |
ClusterStatus
(Appears on: Cluster)
ClusterStatus defines the observed state of Cluster
| Field | Description |
|---|---|
conditionsCluster API /v1beta1.Conditions |
(Optional)
Conditions defines current service state of the cluster. |
phasestring |
(Optional)
Phase is the current lifecycle phase of the cluster. |
apiEndpointstring |
(Optional)
APIEndpoint is the endpoint to communicate with the apiserver.
Format should be: |
kubeconfigSecretRefstring |
(Optional)
KubeconfigSecretRef represents the secret that contains the credential to access this cluster. |
serviceAccountIssuerstring |
(Optional)
ServiceAccountIssuer is the URL of the service account issuer. |
CredentialConfig
(Appears on: ClusterSpec)
| Field | Description |
|---|---|
secretRefstring |
MachineConfig
(Appears on: NodeConfig)
MachineConfig defines the configuration for the machine.
| Field | Description |
|---|---|
replicasint |
Replicas is the number of replicas of the machine. |
instanceTypestring |
InstanceType is the type of instance to use for the instance. |
sshKeyNamestring |
(Optional)
SSHKeyName is the name of the SSH key to use for the instance. |
imageOSstring |
(Optional)
ImageOS is the OS of the image to use for the instance. Defaults to “ubuntu-20.04”. |
rootVolumeSizeVolume |
(Optional)
RootVolume is the root volume to attach to the instance. |
nonRootVolumes[]Volume |
(Optional)
NonRootVolumes is the list of non-root volumes to attach to the instance. |
extraArgsKubernetes /apiextensions/v1.JSON |
(Optional)
ExtraArgs is the set of extra arguments to create Machine on different infra. |
MasterConfig
(Appears on: ClusterSpec)
| Field | Description |
|---|---|
NodeConfigNodeConfig |
(Members of |
NetworkConfig
(Appears on: ClusterSpec)
| Field | Description |
|---|---|
vpcVPCConfig |
VPC is the configuration for the VPC. |
podCIDRsCIDRBlocks |
(Optional)
PodCIDRs is the CIDR block for pods in this cluster. Defaults to 192.168.0.0/16. |
serviceCIDRsCIDRBlocks |
(Optional)
ServiceCIDRs is the CIDR block for services in this cluster. Defaults to 10.96.0.0/12. |
cniCNIConfig |
CNI is the configuration for the CNI. |
NodeConfig
(Appears on: MasterConfig, WorkerConfig)
NodeConfig defines the configuration for the node.
| Field | Description |
|---|---|
MachineConfigMachineConfig |
(Members of |
NodeRegistrationConfigNodeRegistrationConfig |
(Members of |
NodeRegistrationConfig
(Appears on: NodeConfig)
NodeRegistrationConfig defines the configuration for the node registration.
| Field | Description |
|---|---|
labelsmap[string]string |
Labels is the set of labels to apply to the nodes. |
taints[]Kubernetes core/v1.Taint |
Taints is the set of taints to apply to the nodes. |
NodeUpgradeStrategy
(Appears on: WorkerConfig)
| Field | Description |
|---|---|
typeNodeUpgradeStrategyType |
(Optional)
Type of node replacement strategy. Default is RollingUpdate. |
rollingUpdateRollingUpdateNodeUpgradeStrategy |
(Optional)
RollingUpdate config params. Present only if NodeUpgradeStrategyType = RollingUpdate. |
NodeUpgradeStrategyType
(string alias)
(Appears on: NodeUpgradeStrategy)
PodIdentityConfig
(Appears on: ClusterSpec)
PodIdentityConfig defines the configuration for the pod identity.
| Field | Description |
|---|---|
enabledbool |
Enabled is true when the pod identity is enabled. |
ResourceRef
(Appears on: ClusterSpec)
| Field | Description |
|---|---|
namestring |
Name is the name of the resource. |
kindstring |
Kind Of the resource. e.g. ConfigMap, Secret, etc. |
RollingUpdateNodeUpgradeStrategy
(Appears on: NodeUpgradeStrategy)
| Field | Description |
|---|---|
maxUnavailableKubernetes intstr.IntOrString |
MaxUnavailable is the maximum number of nodes that can be unavailable during the update. |
maxSurgeKubernetes intstr.IntOrString |
MaxSurge is the maximum number of nodes that can be created above the desired number of nodes during the update. |
deletePolicystring |
(Optional)
DeletePolicy defines the policy used to identify nodes to delete when downscaling. Valid values are “Random”, “Newest” and “Oldest”. Defaults to “Newest”. |
SecretKeyRef
(Appears on: AttachedClusterSpec)
SecretKeyRef holds the reference to a secret key.
| Field | Description |
|---|---|
namestring |
Name is the name of the secret. |
keystring |
Key is the key of the secret.
If no key is specified, the secret’s default key is |
VPCConfig
(Appears on: NetworkConfig)
| Field | Description |
|---|---|
idstring |
(Optional)
ID defines a unique identifier to reference this resource. |
namestring |
(Optional)
Name is the name of the VPC. if not set, the name will be generated from cluster name. |
cidrBlockstring |
(Optional)
CIDRBlock is the CIDR block to be used when the provider creates a managed VPC. Defaults to 10.0.0.0/16. |
Volume
(Appears on: MachineConfig)
| Field | Description |
|---|---|
typestring |
(Optional)
Type is the type of the volume (e.g. gp2, io1, etc…). |
sizeint64 |
Size specifies size (in Gi) of the storage device. Must be greater than the image snapshot size or 8 (whichever is greater). |
WorkerConfig
(Appears on: ClusterSpec)
| Field | Description |
|---|---|
NodeConfigNodeConfig |
(Members of |
strategyNodeUpgradeStrategy |
(Optional)
Strategy to use to replace existing nodes with new ones. |
This page was automatically generated with gen-crd-api-reference-docs
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.