Skip to content

Commit 609b325

Browse files
Merge pull request #556 from redis/DOC-4133-ports-details
DOC-4133 added details of RDI ports
2 parents 70c7f82 + 22f38bc commit 609b325

File tree

3 files changed

+68
-27
lines changed

3 files changed

+68
-27
lines changed

content/integrate/redis-data-integration/ingest/installation/_index.md

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ You must run the RDI installer as a privileged user because it installs
3434
[containerd](https://containerd.io/) and registers services. However, you don't
3535
need any special privileges to run RDI processes for normal operation.
3636

37-
The [K3s](https://k3s.io/) Kubernetes distribution used internally by RDI has a few
37+
RDI has a few
3838
requirements for cloud VMs that you must implement before running the
3939
RDI installer, or else installation will fail. The following sections
40-
give full pre-installation instructions for [RHEL](#k3s-rhel) and
41-
[Ubuntu](#k3s-ubuntu).
40+
give full pre-installation instructions for [RHEL](#firewall-rhel) and
41+
[Ubuntu](#firewall-ubuntu).
4242

43-
### RHEL {#k3s-rhel}
43+
### RHEL {#firewall-rhel}
4444

45-
K3s recommends that you turn off
46-
[`firewalld`](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/using-and-configuring-firewalld_configuring-and-managing-networking)
45+
We recommend you turn off
46+
[`firewalld`](https://firewalld.org/documentation/)
4747
before installation using the command:
4848

4949
```bash
@@ -59,10 +59,19 @@ firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 #services
5959
firewall-cmd --reload
6060
```
6161

62-
You may also need to open other ports if your setup requires them. See the K3s
63-
[Inbound rules](https://docs.k3s.io/installation/requirements?_highlight=red&_highlight=hat&os=rhel#inbound-rules-for-k3s-nodes)
64-
docs for more information. If you change the default CIDR for pods or services,
65-
you must update the firewall rules accordingly.
62+
You should also add [port rules](https://firewalld.org/documentation/howto/open-a-port-or-service.html)
63+
for all the [RDI services]({{< relref "/integrate/redis-data-integration/ingest/reference/ports" >}})
64+
you intend to use:
65+
66+
```bash
67+
firewall-cmd --permanent --add-port=8080/tcp # (Required) rdi-operator/rdi-api
68+
firewall-cmd --permanent --add-port=9090/tcp # vm-dis-reloader
69+
firewall-cmd --permanent --add-port=9092/tcp # prometheus-service
70+
firewall-cmd --permanent --add-port=9121/tcp # rdi-metric-exporter
71+
```
72+
73+
{{<note>}}You may also need to add similar rules to open other ports if your setup requires them.
74+
{{</note>}}
6675

6776
If you have `nm-cloud-setup.service` enabled, you must disable it and reboot the
6877
node with the following commands:
@@ -72,14 +81,9 @@ systemctl disable nm-cloud-setup.service nm-cloud-setup.timer
7281
reboot
7382
```
7483

75-
See
76-
[Rancher support and maintenance terms](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-8-6/)
77-
for more information about the OS versions that have been tested with
78-
Rancher-managed K3s clusters.
84+
### Ubuntu {#firewall-ubuntu}
7985

80-
### Ubuntu {#k3s-ubuntu}
81-
82-
K3s recommends that you turn off
86+
We recommend you turn off
8387
[Uncomplicated Firewall](https://wiki.ubuntu.com/UncomplicatedFirewall) (`ufw`)
8488
before installation with the command:
8589

@@ -95,15 +99,19 @@ ufw allow from 10.42.0.0/16 to any #pods
9599
ufw allow from 10.43.0.0/16 to any #services
96100
```
97101

98-
You may also need to open other ports if your setup requires them. See the K3s
99-
[Inbound rules](https://docs.k3s.io/installation/requirements?_highlight=red&_highlight=hat&os=debian#inbound-rules-for-k3s-nodes)
100-
docs for more information. If you change the default CIDR for pods or services,
101-
you must update the firewall rules accordingly.
102+
You should also add [port rules](https://ubuntu.com/server/docs/firewalls)
103+
for all the [RDI services]({{< relref "/integrate/redis-data-integration/ingest/reference/ports" >}})
104+
you intend to use:
105+
106+
```bash
107+
ufw allow 8080/tcp # (Required) rdi-operator/rdi-api
108+
ufw allow 9090/tcp # vm-dis-reloader
109+
ufw allow 9092/tcp # prometheus-service
110+
ufw allow 9121/tcp # rdi-metric-exporter
111+
```
102112

103-
See
104-
[Rancher support and maintenance terms](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-8-6/)
105-
for more information about the OS versions that have been tested with
106-
Rancher-managed K3s clusters.
113+
{{<note>}}You may also need to add similar rules to open other ports if your setup requires them.
114+
{{</note>}}
107115

108116
## Hardware sizing
109117

content/integrate/redis-data-integration/ingest/observability.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ command from the CLI.{{< /note >}}
3939

4040
## Collector metrics
4141

42-
The endpoint for the collector metrics is `https://<RDI_HOST>/metrics/collector-source`
42+
The endpoint for the collector metrics is `https://<RDI_HOST>:9121/metrics/collector-source`
4343

4444
These metrics are divided into three groups:
4545

@@ -49,7 +49,7 @@ These metrics are divided into three groups:
4949

5050
## Stream processor metrics
5151

52-
The endpoint for the stream processor metrics is `https://<RDI_HOST>/metrics/rdi`
52+
The endpoint for the stream processor metrics is `https://<RDI_HOST>:9121/metrics/rdi`
5353

5454
RDI reports metrics during the two main phases of the ingest pipeline, the *snapshot*
5555
phase and the *change data capture (CDC)* phase. (See the
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
Title: RDI ports and protocols
3+
aliases: null
4+
alwaysopen: false
5+
categories:
6+
- docs
7+
- integrate
8+
- rs
9+
- rdi
10+
description: Network ports and protocols used by RDI
11+
group: di
12+
linkTitle: Ports and protocols
13+
summary:
14+
Redis Data Integration keeps Redis in sync with the primary database in near
15+
real time.
16+
type: integration
17+
weight: 40
18+
---
19+
20+
The table below shows the ports and protocols that RDI uses for its
21+
services:
22+
23+
| Name | Type | Port | Protocol |
24+
| :-- | :-- | :-- | :-- |
25+
| prometheus-service | Service | 9092 | TCP |
26+
| prometheus-service | Ingress | 9092 | TCP/HTTP |
27+
| rdi-api | Service | 8080 | TCP |
28+
| rdi-api | Deployment | 8080 | TCP |
29+
| rdi-api | Ingress | 8080 | TCP/HTTP |
30+
| rdi-metric-exporter | Service | 9121 | TCP |
31+
| rdi-metric-exporter | Ingress | 9121 | TCP/HTTP |
32+
| rdi-operator | Deployment | 8080 | TCP |
33+
| vm-dis-reloader | Deployment | 9090 | TCP |

0 commit comments

Comments
 (0)