Prerequisites
Before you begin, ensure you have:- A running Kubernetes cluster (v1.19+)
kubectlconfigured to communicate with your cluster- Basic familiarity with Kubernetes concepts
You can use Minikube, kind, or any cloud-based Kubernetes service (GKE, EKS, AKS) for this quick start.
Step-by-Step Guide
Install Helm
If you don’t have Helm installed, install it using one of these methods:Verify the installation:You should see output showing Helm v3.x or later.
Add the Douban Repository
Add the Douban Helm Charts repository to your Helm installation:You should see:Update your local repository cache:
Browse Available Charts
List all available charts from the Douban repository:You’ll see output like:
Install Your First Chart
Let’s deploy an nginx web server using the You should see output confirming the installation:
nginx chart:my-nginx is the release name - you can choose any name you like. This name is used to manage the deployment later.Customizing Your Deployment
You can customize the deployment by providing your own values. First, view the available configuration options:my-values.yaml:
my-values.yaml
Managing Your Release
View Release Status
List All Releases
Upgrade a Release
After modifying your values:Rollback a Release
If something goes wrong:Uninstall a Release
When you’re done:Real-World Example: Deploying Helpdesk
Let’s deploy the Douban Helpdesk application with custom configuration:- Installs the helpdesk chart with release name
my-helpdesk - Uses the latest image version
- Enables ingress for external access
- Configures the hostname as
helpdesk.example.com
Troubleshooting
Installation Fails
Check Helm release status:Pod Not Starting
Describe the pod to see events:Chart Not Found
Update your repository cache:Next Steps
Installation Guide
Learn about advanced installation options and patterns
Chart Documentation
Explore detailed documentation for each chart
For production deployments, always review the chart’s values.yaml file and configure appropriate resource limits, persistence, and monitoring.