You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+72-37Lines changed: 72 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -226,8 +226,55 @@ helmfile -e default diff
226
226
``` bash
227
227
helmfile -e default apply
228
228
```
229
+
## Appendix C - Superstream Client Configuration
229
230
230
-
## Appendix C - Uninstall
231
+
**Client Connection**
232
+
233
+
To establish a connection of a new client, the data plane's Fully Qualified Domain Name (FQDN) for the Superstream service must be accessible and exposed. Below are the connection procedures based on the client’s location relative to the Superstream service:
234
+
235
+
1. For clients in environments like AWS EKS, you can expose the Superstream service using a LoadBalancer. Below is an example of the required service configuration in a YAML file (svc.yaml):
If there is no default storageClass configured for the Kubernetes cluster, it should be configured manually from the helmfile.yaml.
298
+
If there is no default storageClass configured for the Kubernetes cluster or there is a need to choose a custom storageClass, it can be done by specifying its name in the `environments/default.yaml` file.
252
299
253
-
1. Open helmfile.yaml with preferred editor and navigate to the nats configuration section:
300
+
1. Open `environments/default.yaml` with a preferred editor:
254
301
255
302
```yaml
256
-
releases:
257
-
- name: {{ .Values.natsReleaseName }}
258
-
installed: true
259
-
namespace: {{ .Values.namespace }}
260
-
chart: nats/nats
261
-
version: 1.1.7
262
-
values:
263
-
- container:
264
-
image:
265
-
tag: alpine3.19
266
-
env:
267
-
ACTIVATION_TOKEN:
268
-
valueFrom:
269
-
secretKeyRef:
270
-
name: superstream-creds
271
-
key: ACTIVATION_TOKEN
272
-
- promExporter:
273
-
enabled: true
274
-
- natsBox:
275
-
enabled: false
276
-
- config:
277
-
cluster:
278
-
enabled: {{ .Values.haDeployment }}
279
-
jetstream:
280
-
enabled: true
303
+
helmVersion: 0.2.3 # Define the version of the superstream helm chart.
304
+
namespace: superstream # Specify the Kubernetes namespace where the resources will be deployed, isolating them within this designated namespace.
305
+
storageClassName: "" # Leave blank if you want to use default K8s cluster storageClass
306
+
...
281
307
```
282
308
283
-
2. Add the following section after `jetsream.enabled` line and mention the name of the desired storageClass:
309
+
2. Fill the name of the desired storageClass name.
284
310
285
311
```yaml
286
-
jetstream:
287
-
enabled: true
288
-
fileStore:
289
-
pvc:
290
-
storageClassName: <THE_NAME>
312
+
helmVersion: 0.2.3 # Define the version of the superstream helm chart.
313
+
namespace: superstream # Specify the Kubernetes namespace where the resources will be deployed, isolating them within this designated namespace.
314
+
storageClassName: "exampleSsdStorageClass" # Leave blank if you want to use default K8s cluster storageClass
315
+
...
291
316
```
292
317
293
-
3. Run the deployment
318
+
3. Run the deployment.
294
319
295
320
```bash
296
321
helmfile -e default apply
297
322
```
298
323
324
+
4. Validate that the created PVCs are assigned to the desired storageClass.
325
+
326
+
```bash
327
+
kubectl get pvc -n superstream
328
+
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
helmVersion: 0.2.3# Define the version of the superstream helm chart.
1
+
helmVersion: 0.3.0# Define the version of the superstream helm chart.
2
2
namespace: superstream # Specify the Kubernetes namespace where the resources will be deployed, isolating them within this designated namespace.
3
+
storageClassName: ""# Leave blank if you want to use default K8s cluster storageClass
3
4
name: <DATAPLANE_NAME> # Define the data plane name within 32 characters, excluding '.', and using only letters, numbers, '-', and '_'.
4
5
accountId: ""# Provide the account ID that is associated with the deployment, which could be used for identifying resources or configurations tied to a specific account.
5
6
activationToken: ""# Enter the activation token required for services or resources that need an initial token for activation or authentication.
0 commit comments