This article provides a guide on how to review your deployment history and fetch the values of a specific revision in Helm. This can be particularly useful when troubleshooting deployment-related issues, like unexpected configuration changes.
Step 1: Review Your Deployment History
To review your deployment history, you can use the
helm history command followed by the release name:
helm list -n $NAMESPACE
helm history <RELEASE_NAME> -n $NAMESPACE
This command will display a list of all revisions for the specified release, along with information about when each revision was deployed, its status, the chart version, and a description.
Step 2: Fetch the Values of a Specific Revision
If you want to fetch the values applied to a specific revision, you can use the
helm get values command. You will also need to specify the server, namespace, and the revision number:
While the release name is typically
circleci-server as outlined in our documentation, your installation may differ.
helm get values $RELEASE_NAME -n $NAMESPACE --revision <revision_number>
This command will display the values applied to the specified revision. You can review these values to ensure that the correct configurations were applied.
Understanding your deployment history and the specific values applied to each revision can help you troubleshoot and prevent potential issues. If you notice any inconsistencies or errors in your deployments, please feel free to use this information to make the necessary corrections.