You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vendor/testing-how-to.md
+14-19Lines changed: 14 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,17 @@ import Prerequisites from "../partials/cmx/_prerequisites.mdx"
2
2
3
3
# Create Clusters
4
4
5
-
This topic describes how to use Replicated Compatibility Matrix to create and manage ephemeral clusters to test your applications across different Kubernetes distributions and versions
5
+
This topic describes how to use Replicated Compatibility Matrix to create and manage ephemeral clusters to test your applications across different Kubernetes distributions and versions.
6
6
7
+
This topic includes information about creating and managing clusters with Compatibility Matrix using the Replicated Vendor Portal or the Replicated CLI. For information about creating and managing clusters with the Vendor API v3, see the [clusters](https://replicated-vendor-api.readme.io/reference/listclusterusage) section in the Vendor API v3 documentation.
7
8
8
9
## About Compatibility Matrix Clusters
9
10
10
11
Compatibility Matrix supports both VM-based clusters (such as kind, k3s, RKE2, OpenShift, and Embedded Cluster) and cloud-managed clusters (such as EKS, GKE, and AKS). VM-based clusters run on Replicated bare metal servers, while cloud clusters are provisioned in Replicated-managed cloud accounts for faster delivery.
11
12
12
-
**When to use Clusters vs VMs:**
13
-
***Use Clusters** for testing Kubernetes-based deployments and Helm installations.
14
-
***Use VMs** for testing Embedded Cluster installers, air-gap installations, or when you need full OS control. See [Create VMs](/vendor/testing-vm-create).
13
+
You can use Compatibility Matrix clusters for testing and troubleshooting Kubernetes-based deployments and Helm installations for your application.
15
14
15
+
For information about creating VMs with Compatibility Matrix to test Replicated Embedded Cluster installers, air-gap installations, or when you need full OS control, see [Create VMs](/vendor/testing-vm-create).
16
16
17
17
## Prerequisites
18
18
@@ -22,17 +22,11 @@ Before you can use Compatibility Matrix clusters, you must complete the followin
22
22
23
23
* Existing accounts must accept the TOS for the trial on the [**Compatibility Matrix**](https://vendor.replicated.com/compatibility-matrix) page in the Replicated Vendor Portal.
24
24
25
-
## Create and Manage Clusters
26
-
27
-
This section explains how to use Compatibility Matrix to create and manage clusters with the Replicated CLI or the Vendor Portal.
28
-
29
-
For information about creating and managing clusters with the Vendor API v3, see the [clusters](https://replicated-vendor-api.readme.io/reference/listclusterusage) section in the Vendor API v3 documentation.
30
-
31
-
### Create Clusters
25
+
## Create Clusters
32
26
33
27
You can create clusters with Compatibility Matrix using the Replicated CLI or the Vendor Portal.
34
28
35
-
####Replicated CLI
29
+
###With the Replicated CLI
36
30
37
31
To create a cluster using the Replicated CLI:
38
32
@@ -84,7 +78,7 @@ To create a cluster using the Replicated CLI:
84
78
85
79
In the output of the command, you can see that the `STATUS` of the cluster is `assigned`. When the kubeconfig for the cluster is accessible, the cluster's status is changed to `running`. For more information about cluster statuses, see [Cluster Status](testing-about#cluster-status) in _About Compatibility Matrix._
86
80
87
-
####Vendor Portal
81
+
### Vendor Portal
88
82
89
83
To create a cluster using the Vendor Portal:
90
84
@@ -154,7 +148,7 @@ To create a cluster using the Vendor Portal:
154
148
155
149
[View a larger version of this image](/images/cmx-assigned-cluster.png)
156
150
157
-
###Prepare Clusters
151
+
## Prepare Clusters
158
152
159
153
For applications distributed with the Replicated Vendor Portal, the [`cluster prepare`](/reference/replicated-cli-cluster-prepare) command reduces the number of steps required to provision a cluster and then deploy a release to the cluster for testing. This is useful in continuous integration (CI) workflows that run multiple times a day. For an example workflow that uses the `cluster prepare` command, see [Recommended CI/CD Workflows](/vendor/ci-workflows).
160
154
@@ -213,7 +207,7 @@ The `cluster prepare` command requires either a Helm chart archive or a director
213
207
214
208
For command usage, including additional options, see [cluster prepare](/reference/replicated-cli-cluster-prepare).
215
209
216
-
### Access Clusters
210
+
## Access Clusters
217
211
218
212
Compatibility Matrix provides the kubeconfig forclusters so that you can access clusters with the kubectl command line tool. For more information, see [Command line tool (kubectl)](https://kubernetes.io/docs/reference/kubectl/)in the Kubernetes documentation.
219
213
@@ -243,7 +237,7 @@ To access a cluster from the command line:
243
237
244
238
1. Press Ctrl-D or type`exit` when done to end the shell and the connection to the server.
245
239
246
-
### Upgrade Clusters (kURL Only)
240
+
## Upgrade Clusters (kURL Only)
247
241
248
242
For kURL clusters provisioned with Compatibility Matrix, you can use the the `cluster upgrade`command to upgrade the version of the kURL installer specification used to provision the cluster. A recommended use casefor the `cluster upgrade`command is for testing your application's compatibility with Kubernetes API resource version migrations after upgrade.
For command usage, see [cluster upgrade](/reference/replicated-cli-cluster-upgrade).
257
251
258
-
### Delete Clusters
252
+
## Delete Clusters
259
253
260
254
You can delete clusters using the Replicated CLI or the Vendor Portal.
261
255
262
-
#### Replicated CLI
256
+
### Replicated CLI
263
257
264
258
To delete a cluster using the Replicated CLI:
265
259
@@ -292,7 +286,8 @@ To delete a cluster using the Replicated CLI:
292
286
```
293
287
Where `CLUSTER_ID` is the ID of the target cluster.
294
288
In the output of the command, you can see that the `STATUS` of the cluster is `terminated`. For command usage, see [cluster ls](/reference/replicated-cli-cluster-ls).
0 commit comments