@@ -94,7 +94,7 @@ To pull images from a local registry, you must provide the image pull secret and
94
94
1. Decompress the tar file:
95
95
96
96
` ` ` bash
97
- tar -xvf rdi-k8s- <rdi-tag>.tar.gz
97
+ tar -xvf rdi-<rdi-tag>.tar.gz
98
98
```
99
99
100
100
1. Open the `values.yaml` file and set the appropriate values for your installation
@@ -104,13 +104,25 @@ To pull images from a local registry, you must provide the image pull secret and
104
104
1. Start the installation :
105
105
106
106
` ` ` bash
107
- helm install <The logical chart name> rdi-k8s/< rdi-tag>/helm --create-namespace -n rdi
107
+ helm install <The logical chart name> ./ rdi --create-namespace -n rdi
108
108
` ` `
109
109
110
110
# ## The `values.yaml` file
111
111
112
112
The annotated [`values.yaml`](https://helm.sh/docs/topics/charts/#templates-and-values)
113
- file below describes the values you can set for the RDI Helm installation :
113
+ file below describes the values you can set for the RDI Helm installation.
114
+
115
+ At a minimum, you must set the values of `RDI_REDIS_HOST` and `RDI_REDIS_PORT`
116
+ in the `global.rdiSysConfig` section and also `RDI_REDIS_PASSWORD` in
117
+ ` global.rdiSysSecret` to enable the basic connection to the RDI database.
118
+
119
+ {{< note >}}If you want to use
120
+ [Redis Insight]({{< relref "/develop/tools/insight/rdi-connector" >}})
121
+ to connect to your RDI deployment from outside the K8s cluster, you
122
+ must enable TLS.
123
+ {{< /note >}}
124
+
125
+ The full `values.yaml` file is shown below :
114
126
115
127
` ` ` yaml
116
128
# Default RDI values in YAML format.
@@ -134,7 +146,7 @@ global:
134
146
135
147
image:
136
148
# Overrides the image tag for all RDI components.
137
- tag: 0.0.0
149
+ # tag: 0.0.0
138
150
139
151
# If using a private repository, update the default values accordingly.
140
152
# Docker registry.
@@ -195,15 +207,16 @@ global:
195
207
# DO NOT modify this value.
196
208
# RDI_REDIS_CACERT: /etc/certificates/rdi_db/cacert
197
209
198
- # Uncomment these properties when using a TLS connection from RDI to its Redis database.
210
+ # Uncomment these properties when using an mTLS connection from RDI to its Redis database.
199
211
# DO NOT modify these values.
200
212
# RDI_REDIS_CERT: /etc/certificates/rdi_db/cert
201
213
# RDI_REDIS_KEY: /etc/certificates/rdi_db/key
202
214
203
215
# The passphrase used to get the private key stored in the secret store when using mTLS.
204
216
# RDI_REDIS_KEY_PASSPHRASE: ""
205
217
206
- # The key used to encrypt the JWT token used by RDI API.
218
+ # The key used to encrypt the JWT token used by RDI API. Best practice is for this
219
+ # to contain 32 ASCII characters (equivalent to 256 bits of data).
207
220
# JWT_SECRET_KEY: ""
208
221
209
222
rdiDbSSLSecret:
@@ -215,11 +228,11 @@ global:
215
228
# cacert: ""
216
229
217
230
# The content of the certificate PEM file.
218
- # Uncomment and set this property when using a TLS connection from RDI to its Redis database.
231
+ # Uncomment and set this property when using an mTLS connection from RDI to its Redis database.
219
232
# cert: ""
220
233
221
234
# The content of the private key PEM file.
222
- # Uncomment and set this property when using a TLS connection from RDI to its Redis database.
235
+ # Uncomment and set this property when using an mTLS connection from RDI to its Redis database.
223
236
# key: ""
224
237
225
238
# Container default security context.
@@ -436,11 +449,10 @@ NAME NAMESPACE REVISION UPDATED STATUS CHA
436
449
<logical_chart_name> rdi 1 2024-10-10 16:53... +0300 IDT deployed rdi-1.0.0
437
450
```
438
451
439
-
440
452
Also, check that the following pods have ` Running ` status:
441
453
442
454
``` bash
443
- sudo k3s kubectl get pod -n rdi
455
+ kubectl get pod -n rdi
444
456
445
457
NAME READY STATUS RESTARTS AGE
446
458
rdi-api-< id> 1/1 Running 0 29m
0 commit comments