Skip to content

Commit 837487f

Browse files
authored
Merge pull request #3562 from replicatedhq/cmx-airgap-docs-findability
CMX Air Gap Testing more visible in sidebar
2 parents 614007e + 1f2fb6e commit 837487f

19 files changed

+531
-375
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# replicated network report
2+
3+
Get network report
4+
5+
### Synopsis
6+
7+
Get a report showing network events for a specified network. You can view all network events, or use the --summary flag to see an aggregated analysis of captured network events.
8+
9+
Network reporting is a beta feature. For more information, see [Test in Air Gap Environments (Beta)](/vendor/testing-network-policy).
10+
11+
```
12+
replicated network report [network-id] [flags]
13+
```
14+
15+
### Examples
16+
17+
```
18+
# Get report for a network by ID (using positional argument)
19+
replicated network report abc123
20+
21+
# Get report for a network by ID (using flag)
22+
replicated network report --id abc123
23+
24+
# Watch for new network events (JSON Lines format)
25+
replicated network report abc123 --watch
26+
```
27+
28+
### Options
29+
30+
```
31+
-h, --help help for report
32+
--id string Network ID to get report for
33+
--summary Get the report summary
34+
-w, --watch Watch for new network events
35+
```
36+
37+
### Options inherited from parent commands
38+
39+
```
40+
--app string The app slug or app id to use in all calls
41+
--debug Enable debug output
42+
--token string The API token to use to access your app in the Vendor API
43+
```
44+
45+
### SEE ALSO
46+
47+
* [replicated network](replicated-cli-network) - Manage test networks for VMs and Clusters
48+
49+

docs/reference/replicated-cli-network.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ replicated network ls
1616
# Update a network with an airgap policy
1717
replicated network update <network-id> --policy airgap
1818
19+
# View network report
20+
replicated network report <network-id> --summary
21+
1922
```
2023

2124
### Options
@@ -36,5 +39,6 @@ replicated network update <network-id> --policy airgap
3639

3740
* [replicated](replicated) - Manage your Commercial Software Distribution Lifecycle using Replicated
3841
* [replicated network ls](replicated-cli-network-ls) - List test networks
42+
* [replicated network report](replicated-cli-network-report) - View network activity reports
3943
* [replicated network update](replicated-cli-network-update) - Update network settings
4044

docs/vendor/compatibility-matrix-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# View Compatibility Matrix Usage History
1+
# Compatibility Matrix Usage History
22
This topic describes using the Replicated Vendor Portal to understand
33
Compatibility Matrix usage across your team.
44

docs/vendor/environment-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,6 @@ You need access to a VM to test installations and updates with the [Replicated E
289289

290290
To test installations with Helm, you need kubectl access to a cluster.
291291

292-
* **Option 1: Use Compatibility Matrix.** You can use Replicated Compatibility Matrix to create clusters. For more information, see [Create Clusters](/vendor/testing-how-to).
292+
* **Option 1: Use Compatibility Matrix.** You can use Replicated Compatibility Matrix to create clusters. For more information, see [Create and Manage Clusters](/vendor/testing-how-to).
293293

294294
* **Option 2: Use another cloud provider or tool.** You can use any cloud provider or tool that you prefer to create a cluster, such as Google Kubernetes Engine (GKE) or minikube.

docs/vendor/support-inspecting-support-bundles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To inspect a support bundle:
2626

2727
1. (Optional) Click **Download bundle** to download the bundle. This can be helpful if you want to access the bundle from another system or if other team members want to access the bundle and use other tools to examine the files.
2828

29-
1. (Optional) Navigate back to the [**Troubleshoot**](https://vendor.replicated.com/troubleshoot) page and click **Create cluster** to provision a cluster with Replicated Compatibility Matrix. This can be helpful for creating customer-representative environments for troubleshooting. For more information about creating clusters with Compatibility Matrix, see [Use Compatibility Matrix](testing-how-to).
29+
1. (Optional) Navigate back to the [**Troubleshoot**](https://vendor.replicated.com/troubleshoot) page and click **Create cluster** to provision a cluster with Replicated Compatibility Matrix. This can be helpful for creating customer-representative environments for troubleshooting. For more information about creating clusters with Compatibility Matrix, see [Create and Manage Clusters](testing-how-to).
3030

3131
<img alt="Cluster configuration dialog" src="/images/cmx-cluster-configuration.png" width="400px"/>
3232

docs/vendor/testing-about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Example use cases for Compatibility Matrix include:
1111
* Get access to a cluster or VM to develop on and quickly test changes
1212
* Reproduce a reported issue on a customer-representative environment for troubleshooting
1313

14-
You can use Compatibility Matrix with the Replicated CLI or the Replicated Vendor Portal. For more information about how to use Compatibility Matrix, see [Create Clusters](testing-how-to) and [Create VMs](testing-vm-create).
14+
You can use Compatibility Matrix with the Replicated CLI or the Replicated Vendor Portal. For more information about how to use Compatibility Matrix, see [Create and Manage Clusters](testing-how-to) and [Create VMs](testing-vm-create).
1515

1616
## Supported Clusters and VMs
1717

docs/vendor/testing-ci-cd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import TestRecs from "../partials/ci-cd/_test-recs.mdx"
22

3-
# Use Compatibility Matrix with CI/CD
3+
# Test in Compatibility Matrix with CI/CD
44

55
This topic describes how to integrate Replicated Compatibility Matrix into your CI/CD workflows.
66

docs/vendor/testing-how-to.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Prerequisites from "../partials/cmx/_prerequisites.mdx"
22

3-
# Create Clusters
3+
# Use Compatibility Matrix Clusters
44

55
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.
66

@@ -25,7 +25,6 @@ Compatibility Matrix has the following limitations:
2525
- ARM instance types are only supported on Cloud Clusters. For distribution-specific details, see [Supported Compatibility Matrix Cluster Types](/vendor/testing-supported-clusters).
2626
- GPU instance types are only supported on Cloud Clusters. For distribution-specific details, see [Supported Compatibility Matrix Cluster Types](/vendor/testing-supported-clusters).
2727
- There is no support for IPv6 as a single stack. Dual stack support is available on kind clusters.
28-
- There is no support for air gap testing.
2928
- The `cluster upgrade` feature is available only for kURL distributions. See [cluster upgrade](/reference/replicated-cli-cluster-upgrade).
3029
- Cloud clusters do not allow for the configuration of CNI, CSI, CRI, Ingress, or other plugins, add-ons, services, and interfaces.
3130
- The node operating systems for clusters created with Compatibility Matrix cannot be configured nor replaced with different operating systems.
@@ -171,6 +170,28 @@ To create a cluster using the Vendor Portal:
171170

172171
[View a larger version of this image](/images/cmx-assigned-cluster.png)
173172

173+
## Create Air Gap Clusters (Beta)
174+
175+
For any VM-based cluster distributions, you can create a cluster that uses an air-gapped network by setting the network policy to `airgap`.
176+
177+
For more information, see [Use Air Gap Networks (Beta)](testing-network-policy).
178+
179+
To set the network policy of a VM-based cluster to `airgap`:
180+
181+
1. Create a cluster:
182+
183+
```bash
184+
replicated cluster create --distribution VM_BASED_DISTRIBUTION
185+
```
186+
Where `VM_BASED_DISTRIBUTION` is the target VM-based cluster distribution. For a list of supported distributions, see [VM Clusters](/vendor/testing-supported-clusters#vm-clusters).
187+
188+
1. Change the network policy to `airgap`:
189+
190+
```bash
191+
replicated network update NETWORK_ID --policy airgap
192+
```
193+
Where `NETWORK_ID` is the ID of the network from the output of the `cluster ls` command.
194+
174195
## Prepare Clusters
175196

176197
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).

docs/vendor/testing-ingress.md

Lines changed: 2 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Cluster Networking
1+
# Compatibility Matrix Cluster Networking
22

33
This topic describes the networking options for accessing applications deployed on clusters created with Replicated Compatibility Matrix. It also describes how to use and manage Compatibility Matrix tunnels.
44

@@ -32,83 +32,4 @@ Compatibility matrix supports ingress controllers that are running as a `NodePor
3232
### Compatibility Matrix Tunnels
3333
All VM-based Compatibility Matrix clusters support tunneling traffic into a `NodePort` service.
3434
When this option is used, Replicated is responsible for creating the DNS record and TLS certs.
35-
Replicated will route traffic from `:443` and/or `:80` into the `NodePort` service you defined. For more information about using tunnels, see [Managing Compatibility Matrix Tunnels](#manage-nodes) below.
36-
37-
The following diagram shows how the traffic is routed into the service using Compatibility Matrix tunnels:
38-
39-
<img src="/images/compatibility-matrix-ingress.png" alt="Compatibility Matrix ingress"></img>
40-
41-
[View a larger version of this image](/images/compatibility-matrix-ingress.png)
42-
43-
## Managing Compatibility Matrix Tunnels {#manage-nodes}
44-
45-
Tunnels are viewed, created, and removed using the Compatibility Matrix UI within Vendor Portal, the Replicated CLI, GitHub Actions, or directly with the Vendor API v3. There is no limit to the number of tunnels you can create for a cluster and multiple tunnels can connect to a single service, if desired.
46-
47-
### Limitations
48-
49-
Compatibility Matrix tunnels have the following limitations:
50-
* One tunnel can only connect to one service. If you need fanout routing into different services, consider installing the nginx ingress controller as a `NodePort` service and exposing it.
51-
* Tunnels are not supported for cloud distributions (EKS, GKE, AKS).
52-
53-
### Supported Protocols
54-
55-
A tunnel can support one or more protocols.
56-
The supported protocols are HTTP, HTTPS, WS and WSS.
57-
GRPC and other protocols are not routed into the cluster.
58-
59-
### Exposing Ports
60-
Once you have a node port available on the cluster, you can use the Replicated CLI to expose the node port to the public internet.
61-
This can be used multiple times on a single cluster.
62-
63-
Optionally, you can specify the `--wildcard` flag to expose this port with wildcard DNS and TLS certificate.
64-
This feature adds extra time to provision the port, so it should only be used if necessary.
65-
66-
```bash
67-
replicated cluster port expose \
68-
[cluster id] \
69-
--port [node port] \
70-
--protocol [protocol] \
71-
--wildcard
72-
```
73-
74-
For example, if you have the nginx ingress controller installed and the node port is 32456:
75-
76-
```bash
77-
% replicated cluster ls
78-
ID NAME DISTRIBUTION VERSION STATUS
79-
1e616c55 tender_ishizaka k3s 1.29.2 running
80-
81-
% replicated cluster port expose \
82-
1e616c55 \
83-
--port 32456 \
84-
--protocol http \
85-
--protocol https \
86-
--wildcard
87-
```
88-
89-
:::note
90-
You can expose a node port that does not yet exist in the cluster.
91-
This is useful if you have a deterministic node port, but need the DNS name as a value in your Helm chart.
92-
:::
93-
94-
### Viewing Ports
95-
To view all exposed ports, use the Replicated CLI `port ls` subcommand with the cluster ID:
96-
97-
```bash
98-
% replicated cluster port ls 1e616c55
99-
ID CLUSTER PORT PROTOCOL EXPOSED PORT WILDCARD STATUS
100-
d079b2fc 32456 http http://happy-germain.ingress.replicatedcluster.com true ready
101-
102-
d079b2fc 32456 https https://happy-germain.ingress.replicatedcluster.com true ready
103-
```
104-
105-
### Removing Ports
106-
Exposed ports are automatically deleted when a cluster terminates.
107-
If you want to remove a port (and the associated DNS records and TLS certs) prior to cluster termination, run the `port rm` subcommand with the cluster ID:
108-
109-
```bash
110-
% replicated cluster port rm 1e616c55 --id d079b2fc
111-
```
112-
113-
You can remove just one protocol, or all.
114-
Removing all protocols also removes the DNS record and TLS cert.
35+
Replicated will route traffic from `:443` and/or `:80` into the `NodePort` service you defined. For more information about using tunnels, see [Expose Ports Using Tunnels](testing-vm-networking).

0 commit comments

Comments
 (0)