cluster create
Create clusters for compatibility testing. For more information, see About Compatibility Matrix.
Usage
replicated cluster create [flags]
Flag | Type (if applicable) | Description |
---|---|---|
-h, --help | Help for the command. | |
--disk | integer | The disk size (GiB) to request per node. Default: 50 |
--distribution | string | The Kubernetes cluster distribution type to provision. Default: kind |
--dry-run | The dry run option runs a simulated test to verify that your inputs are valid without actually creating a cluster. | |
--instance-type | string | The type of instance to use for nodes in the cluster. For supported instance types, see Supported Compatibility Matrix Cluster Types (Beta). |
--ip-family | string | IP Family to use for the cluster (ipv4|ipv6|dual). Default: ipv4 |
--license-id | string | A valid customer license ID. Required for Replicated embedded cluster distribution. |
--name | string | The name of the cluster. If no name is specified, a name will be generated. |
--nodes | integer | The node count. Default: 1 |
--min-nodes | string | Minimum Node count (only for EKS, AKS and GKE clusters). |
--max-nodes | string | Maximum Node count (only for EKS, AKS and GKE clusters). |
--nodegroup | string | Node group to create (name=?,instance-type=?,nodes=?,min-nodes=?,max-nodes=?,disk=? format, can be specified multiple times). For each nodegroup, at least one flag must be specified. The flags min-nodes and max-nodes are mutually dependent. |
--output | string | The output format to use. Valid values: |
--tag | string | Tag to apply to the cluster (key=value format, can be specified multiple times) |
--ttl | string | The cluster Time to Live (TTL) duration, in hours or minutes. When the TTL expires, the cluster is automatically deleted. Valid values: 10m through 48h. For example, |
--version | string | The Kubernetes version to provision. For OpenShift clusters, provide the supported OpenShift version. The format is distribution dependent. For supported versions, see Supported Compatibility Matrix Cluster Types. |
--wait | duration | The wait duration for the cluster to be ready. Leave the value empty to avoid waiting. |
Examples
-
For an EKS distribution:
replicated cluster create --name eks-example --distribution eks --version 1.27 --node-count 3 --instance-type m6i.large
-
For an EKS distribution with an additional node group:
replicated cluster create --name eks-nodegroup-example --distribution eks --instance-type m6i.large --nodes 1 --nodegroup name=arm,instance-type=m7g.large,nodes=1,disk=50
-
For a kind distribution:
replicated cluster create --name kind-example --distribution kind --version 1.25.2 --disk 100 --instance-type r1.small
-
For a Replicated embedded cluster distribution:
replicated cluster create --distribution embedded-cluster --license-id <license-id>