Skip to content

Commit 52cc299

Browse files
authored
Merge pull request #7 from memphisdev/staging
Release 1.0.1
2 parents 74c2dfa + caf81e6 commit 52cc299

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,52 @@ subjects:
166166
name: telegraf
167167
namespace: superstream-new-namespace
168168
```
169+
170+
# Appendix B
171+
172+
## To update the Superstream Data Plane version, run the following steps.
173+
174+
1. Retrieve the Most Recent Version of the Superstream Helm Chart
175+
176+
```bash
177+
helm search repo superstream/superstream --versions | sort -r | head -n 1
178+
```
179+
180+
2. Modify the `helmVersion` value in the `environments/default.yaml` file.
181+
182+
3. To update your Helm releases in accordance with the state outlined in your `helmfile.yaml`, run the command below. This synchronizes your deployments to the latest configurations:
183+
184+
``` bash
185+
helmfile -e default apply
186+
```
187+
188+
### If you're planning to upgrade to a major version, the initial step involves backing up your current `default.yaml` file. Following this, update your repository by pulling the latest changes from the master branch. Once you've updated, merge your backup values back into the environments/default.yaml file. Continue with the process by following these instructions:
189+
190+
1. Check the Pending Changes:
191+
192+
```bash
193+
helmfile -e default diff
194+
```
195+
196+
2. Implement the updates to your Helm releases to match the latest helmfile.yaml configuration, ensuring your deployments are updated to the newest settings, by running:
197+
198+
``` bash
199+
helmfile -e default apply
200+
```
201+
202+
# Appendix C
203+
204+
## Steps to Uninstall Superstream Data Plane Deployment.
205+
206+
1. Delete Superstream Data Plane Helm Releases:
207+
```bash
208+
helmfile -e default destroy
209+
```
210+
211+
2. Remove Persistent Storage Bound to the Data Plane:
212+
213+
It's crucial to delete the stateful storage linked to the data plane. Ensure you carefully specify the namespace in the command below before executing it:
214+
215+
```bash
216+
kubectl delete pvc -l app.kubernetes.io/instance=nats -n <NAMESPACE>
217+
```

helmfile.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ releases:
7373
},
7474
# Reference the system account
7575
"system_account": SYS,
76-
"remote_syslog": "udp://{{ .Values.superstreamReleaseName }}-syslog.{{ .Values.namespace }}:5514"
76+
"remote_syslog": "udp://{{ .Values.superstreamReleaseName }}-syslog.{{ .Values.namespace }}:5514",
77+
"max_payload": << 8MB >>
7778
}
7879

7980

0 commit comments

Comments
 (0)