Upgrading From Helmfile based Deployment to Superstream Helm Chart

This upgrade requires manual steps due to transitioning from a Helmfile-based deployment to the new Superstream Helm Chart.

Step-by-Step Upgrade Procedure

Step 1: Validate Services and Report Generation

Ensure all services are running and there is no report generation.

$ kubectl get pods -n superstream
NAME                                      READY   STATUS    RESTARTS   AGE
nats-0                                    3/3     Running   0          9m4s
nats-1                                    3/3     Running   0          9m4s
nats-2                                    3/3     Running   0          9m4s
superstream-data-plane-5dbb87fbb4-fjw8k   1/1     Running   0          9m4s
superstream-syslog-6f9855df8c-hl6p8       1/1     Running   0          9m4s
telegraf-6f77bf96d-m8zgx                  1/1     Running   0          9m4s

Check the logs for confirmation:

$ kubectl logs superstream-data-plane-5dbb87fbb4-fjw8k -n superstream
2024-06-06T12:15:40Z INF Superstream is up and running
2024-06-06T12:15:40Z INF version 1.0.84
2024-06-06T12:15:40Z INF pprof server started on port 6060

Step 2: Scale Down Deployments

Scale down the superstream-data-plane and superstream-syslog deployments.

Step 3: List and Remove Helm Releases

Step 4: Configure Environment Tokens

Create and edit a custom_values.yaml file with the necessary environment tokens. An example configuration is provided below: (Link)

Step 5: Deploy New Superstream Helm Chart

Add the Superstream Helm repository and deploy using the custom values file.

Step 6: Scale Up Deployments

Scale up the superstream-data-plane and superstream-syslog deployments.

Step 7: Validate the Deployment

Ensure all services are running by listing the Helm releases and verifying their status.

Summary

This document outlines the steps to transition from a Helmfile-based deployment to the new Superstream Helm Chart. The process includes validating the current state, scaling down deployments, removing old Helm releases, configuring environment tokens, deploying the new Helm chart, scaling up the deployments, and validating the final state.

By following these steps, you can ensure a smooth transition and maintain the integrity and availability of the Superstream services.

Last updated

Was this helpful?