Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Install Helm:

From Homebrew (macOS)

Members of the Helm community have contributed a Helm formula build to Homebrew. This formula is generally up to date.

brew install helm

From Apt (Debian/Ubuntu)

Members of the Helm community have contributed a Helm package for Apt. This package is generally up to date.

curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm

Installing Helm

# Install Helm
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

Setting Up a Helm Chart Repository

Check Artifact Hub for available Helm chart repositories.

# Add a Helm repository
helm repo add bitnami https://charts.bitnami.com/bitnami

# Update repository list
helm repo update

Creating a Namespace

# Create the namespace if it doesn't exist
kubectl create namespace eks-team1

Searching for a Chart

# Search for a chart (e.g., MySQL)
helm search repo mysql

Installing a Helm Chart in eks-team1 Namespace

# Install a chart in the namespace
helm install my-release bitnami/mysql --namespace eks-team1

# Verify installation
helm list --namespace eks-team1

Viewing Release Details in eks-team1

# Get details about a release in the namespace
helm status my-release --namespace eks-team1

Upgrading a Release in eks-team1

# Upgrade a release with updated values in the namespace
helm upgrade my-release bitnami/mysql --set image.tag=8.0.29 --namespace eks-team1

Uninstalling a Release in eks-team1

# Delete a release in the namespace
helm uninstall my-release --namespace eks-team1

Creating Your Own Helm Chart

# Create a new chart
helm create my-chart

Installing Your Custom Chart in eks-team1

# Package and install your chart in the namespace
helm install my-custom-release ./my-chart --namespace eks-team1

Using Custom Values in eks-team1

# Deploy with custom values in the namespace
helm install my-custom-release ./my-chart -f custom-values.yaml --namespace eks-team1

Debugging a Chart in eks-team1

# Dry-run and debug chart installation in the namespace
helm install my-custom-release ./my-chart --dry-run --debug --namespace eks-team1

Namespace-Specific Cleanup

# Uninstall release and cleanup resources in the namespace
helm uninstall my-release --namespace eks-team1

  • No labels