How to update the Observe Kubernetes helm-charts version

Updating the Observe Kubernetes helm-charts ensures that you benefit from the latest features, bug fixes, and security updates. This guide will walk you through the steps to update the Observe helm-charts.

Prerequisites

Before proceeding, ensure you have the following:

  • Helm installed (v3 or later).

  • Access to the repository: helm-charts.

  • Kubernetes cluster credentials configured locally.

  • Sufficient permissions to deploy and update resources in your Kubernetes namespace or cluster.

  • Existing Observe stack deployment via Helm (if applicable).


Steps to Update the Helm Chart

1. Fetch the Latest Chart Version

  1. Add the Observe helm-charts chart repository if you haven’t already:

    helm repo add observe https://observeinc.github.io/helm-charts

  2. Update your local Helm repository to fetch the latest charts:

    helm repo update

  3. Verify the latest version of the Observe Helm chart:

    helm search repo observe

    This will display the latest available versions.


2. Optional: Backup Existing Configuration

  1. Export the existing Helm values:

    helm get values observe-stack -n observe > current-values.yaml


3. Review the Release Notes

Check the release notes for the chart version you’re upgrading to. Pay attention to:

  • Breaking changes.

  • Deprecated values.

  • New features or parameters.


4. Update existing Helm release and reuse current deployment

helm upgrade --namespace=observe observe-stack observe/stack --reuse-values


5. Verify the Deployment

  1. Check the status of the Helm release:

    helm status observe-stack -n observe

  2. Inspect the pods to ensure all are running as expected:

    kubectl get pods -n observe

  3. Review the logs of key pods for any errors:

    kubectl logs <pod-name> -n observe

  4. Check Kubernetes events for any errors:

    kubectl get events --sort-by=.metadata.creationTimestamp -n observe

  5. Verify that the Kubernetes events are being collected as expected.


Conclusion

Regularly updating the Observe Kubernetes Helm chart ensures your deployment remains secure, stable, and up-to-date with the latest capabilities.