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
-
Add the Observe helm-charts chart repository if you haven’t already:
helm repo add observe https://observeinc.github.io/helm-charts -
Update your local Helm repository to fetch the latest charts:
helm repo update -
Verify the latest version of the Observe Helm chart:
helm search repo observeThis will display the latest available versions.
2. Optional: Backup Existing Configuration
-
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
-
Check the status of the Helm release:
helm status observe-stack -n observe -
Inspect the pods to ensure all are running as expected:
kubectl get pods -n observe -
Review the logs of key pods for any errors:
kubectl logs <pod-name> -n observe -
Check Kubernetes events for any errors:
kubectl get events --sort-by=.metadata.creationTimestamp -n observe -
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.