@@ -34,16 +34,16 @@ You must run the RDI installer as a privileged user because it installs
34
34
[ containerd] ( https://containerd.io/ ) and registers services. However, you don't
35
35
need any special privileges to run RDI processes for normal operation.
36
36
37
- The [ K3s ] ( https://k3s.io/ ) Kubernetes distribution used internally by RDI has a few
37
+ RDI has a few
38
38
requirements for cloud VMs that you must implement before running the
39
39
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 ) .
42
42
43
- ### RHEL {#k3s -rhel}
43
+ ### RHEL {#firewall -rhel}
44
44
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/ )
47
47
before installation using the command:
48
48
49
49
``` bash
@@ -59,10 +59,19 @@ firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 #services
59
59
firewall-cmd --reload
60
60
```
61
61
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 >}}
66
75
67
76
If you have ` nm-cloud-setup.service ` enabled, you must disable it and reboot the
68
77
node with the following commands:
@@ -72,14 +81,9 @@ systemctl disable nm-cloud-setup.service nm-cloud-setup.timer
72
81
reboot
73
82
```
74
83
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}
79
85
80
- ### Ubuntu {#k3s-ubuntu}
81
-
82
- K3s recommends that you turn off
86
+ We recommend you turn off
83
87
[ Uncomplicated Firewall] ( https://wiki.ubuntu.com/UncomplicatedFirewall ) (` ufw ` )
84
88
before installation with the command:
85
89
@@ -95,15 +99,19 @@ ufw allow from 10.42.0.0/16 to any #pods
95
99
ufw allow from 10.43.0.0/16 to any # services
96
100
```
97
101
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
+ ```
102
112
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 >}}
107
115
108
116
## Hardware sizing
109
117
0 commit comments