Member-only story
Advanced Helm Tips and Tricks: Uncommon Commands and Flags for Better Kubernetes Management
Managing Kubernetes resources effectively can sometimes feel overwhelming, but Helm, the Kubernetes package manager, offers several commands and flags that make the process smoother and more intuitive. In this article, we’ll dive into some lesser-known Helm commands and flags, explaining their uses, benefits, and practical examples.
1. helm get values
: Retrieving Deployed Chart Values
The helm get values
command is essential when you need to see the configuration values of a deployed Helm chart. This is particularly useful when you have a chart deployed but lack access to its original configuration file. With this command, you can achieve an "Infrastructure as Code" approach by capturing the current state of your deployment.
Usage:
helm get values <release-name> \[flags]
<release-name>
: The name of your Helm release.
Example:
To get the values of a deployed chart named my-release
:
helm get values my-release --namespace my-namespace
This command outputs the current values used for the deployment, which is valuable for documentation, replicating the…