Deploy on Local using Helm Charts and Minikube

A step-by-step guide to deploying Hyperswitch locally using Helm and Minikube, with setup, access, cleanup, and troubleshooting instructions.

Part 1: Setting Up a Local Kubernetes Cluster with Minikube/OrbStack

Option 1: Setting Up a Local Kubernetes Cluster with Minikube

Step 1: Install Required Tools

a. kubectl

kubectl is the CLI for interacting with Kubernetes clusters. To install it, refer to the official guide: Install kubectl

b. Minikube

Minikube is a local Kubernetes cluster for development/testing. Install Minikube following the official documentation: Install Minikube

c. Helm

Helm is a package manager for Kubernetes applications. Install Helm using the instructions here: Install Helm

Step 2: Start Minikube

Start a Minikube cluster with sufficient resources:

minikube start --cpus=4 --memory=7900 --driver=docker

You can also use --driver=virtualbox or --driver=hyperkit depending on your system.

Verify the cluster is running:

kubectl get nodes

Option 2: Setting Up a Local Kubernetes Cluster using OrbStack (Only for macOS)

Step 1: Install Required Tools

Step 2: Set Up Kubernetes in OrbStack

  1. Open the OrbStack application.

  2. Navigate to the Pods section.

  3. Enable Kubernetes from the settings.

Part 2: Deploy Hyperswitch on Kubernetes Using Helm

Step 1: Add and Update the Hyperswitch Helm Repository

Step 2: Install Hyperswitch

Install the Helm chart and create the namespace:

Check the status of the pods:

Step 3: Accessing Services

Expose services locally using port forwarding:

Access services at:

Cleanup

To uninstall Hyperswitch and clean up the namespace:

Troubleshooting

View Pod Logs

View Events

Last updated

Was this helpful?