@@ -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
3535need 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
3838requirements for cloud VMs that you must implement before running the
3939RDI 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/ )
4747before installation using the command:
4848
4949``` bash
@@ -59,10 +59,19 @@ firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 #services
5959firewall-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
6776If you have ` nm-cloud-setup.service ` enabled, you must disable it and reboot the
6877node with the following commands:
@@ -72,14 +81,9 @@ systemctl disable nm-cloud-setup.service nm-cloud-setup.timer
7281reboot
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 ` )
8488before installation with the command:
8589
@@ -95,15 +99,19 @@ ufw allow from 10.42.0.0/16 to any #pods
9599ufw 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
0 commit comments