From 6784ef4efd6c8d5b7e821be8276f4b10c640dcae Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Wed, 11 Sep 2024 16:40:59 +0530 Subject: [PATCH] Add readme to Upgrade Graylog and MongoDB to version 6.0.5 and 6.0.16 respectively Signed-off-by: Shubham Gupta --- argocd-helm-charts/graylog/graylog6.0.5.md | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 argocd-helm-charts/graylog/graylog6.0.5.md diff --git a/argocd-helm-charts/graylog/graylog6.0.5.md b/argocd-helm-charts/graylog/graylog6.0.5.md new file mode 100644 index 000000000..e5a16e4b0 --- /dev/null +++ b/argocd-helm-charts/graylog/graylog6.0.5.md @@ -0,0 +1,31 @@ +# Graylog Upgrade to 6.0.5 +# MongoDB Upgrade to 6.0.16 + +## Backup Data +1. **MongoDB Backup**: Use `mongodump` to back up the MongoDB data. +2. **Elasticsearch Backup**: Back up Elasticsearch data +3. **Graylog Configuration Backup**: Backup Graylog configuration and Helm `values.yaml`. + +## Review Breaking Changes +1. **Plugins**: Verify all plugins for compatibility with Graylog 6.0.5 and replace/remove incompatible plugins. +2. **Templates**: Review any custom templates and ensure compatibility with **JMTE 7.0.2**. + +--- + +## Steps for the Upgrade: + +1. **Check Compatibility Matrix**: Review the compatibility matrix of Graylog and MongoDB from the official documentation: + [Graylog Upgrade Documentation](https://go2docs.graylog.org/current/upgrading_graylog/upgrading_graylog.html?tocpath=Upgrading%20Graylog%7C_____0) + +2. **Upgrade MongoDB Operator**: Upgrade the MongoDB operator to the latest version **0.11.0**. Ensure the Helm charts are up to date with the upstream repository. + +3. **Remove Incompatible Plugins**: Remove or replace any incompatible Graylog plugins. + +4. **Add `data_dir` to Graylog Configuration**: + Add the `data_dir` in the `graylog.conf` (default: `/usr/share/graylog/data`) based on the values from the `values.yaml` file. + +5. **Add Startup Probe for Graylog**: + Configure a **startup probe** in the Graylog deployment to ensure Graylog starts only after MongoDB is ready. + +6. **Upgrade Graylog and MongoDB**: + Perform the upgrade of Graylog to version **6.0.5** and MongoDB to version **6.0.16** and sync. \ No newline at end of file