Deploy on Azure Using Helm Charts
Prerequisites
Ensure the following tools are installed and configured:
1. Azure CLI
The Azure Command-Line Interface (CLI) is a cross-platform tool that allows you to manage Azure resources. To install please visit the official Microsoft documentation.
2. kubectl
kubectl
is the command-line tool for interacting with Kubernetes clusters. To install kubectl
please refer to the Kubernetes documentation.
3. Helm
Helm is a package manager for Kubernetes applications. To install please refer to helm documentation.
Part 1: Setting Up AKS
Log In to Azure
Authenticate with your Azure account:
Follow the browser prompts to log in.
Create a Resource Group
Create a resource group to manage your AKS cluster. Replace
<resource-group-name>
with your desired resource group name and<location>
with your preferred Azure region (e.g.,eastus
):Enable Microsoft Compute Service
Register the required resource provider:
Create an AKS Cluster
Create an AKS cluster with your specified parameters. Replace
<resource-group-name>
with your resource group name,<cluster-name>
with your desired AKS cluster name, and adjust other parameters as needed:Note: The
--generate-ssh-keys
parameter will create SSH keys if they do not already exist.Connect to the AKS Cluster
Retrieve credentials to configure
kubectl
:Verify the connection to the cluster:
Part 2: Deploy Hyperswitch Using Helm
Add the Hyperswitch Helm Repository
Update the repository to fetch the latest charts:
Prepare the Kubernetes Cluster
Label the Node for Hyperswitch:
Replace
<node-name>
with the name of your node (usekubectl get nodes
to find it):Create a Namespace:
Create a dedicated namespace for Hyperswitch. Replace
<namespace>
with your desired namespace name:
Install Hyperswitch
Deploy Hyperswitch using Helm. Replace
<release-name>
with your desired release name and<namespace>
with the namespace you created:Verify Installation
Check Pod Status:
Ensure all pods are in the
Running
state:Check Helm Release:
Verify the Helm release:
That's it! Hyperswitch should be up and running on your Azure account 🎉 🎉
Accessing Services
Use the following command for port-forwarding to access the services. Replace <namespace>
with your namespace:
Access the services at:
App server: http://localhost:8080
Control center: http://localhost:9000
Hyperswitch Web: http://localhost:9050/HyperLoader.js
Grafana: http://localhost:3000
Vector: http://localhost:3103
Mailhog: http://localhost:8025
Troubleshooting
View Pod Logs:
To view logs for a specific pod:
View Events:
To view events in the namespace:
Reinstall Chart:
If issues persist, uninstall and reinstall Hyperswitch:
Customization & Configuration
To customize Hyperswitch, clone the Helm chart repository and modify values.yaml
:
Update the values.yaml
file inside hyperswitch-stack/
and apply changes with:
Uninstall Hyperswitch & Delete AKS Cluster
To uninstall Hyperswitch:
To delete the AKS cluster completely:
By replacing placeholders like <resource-group-name>
, <cluster-name>
, <node-name>
, <namespace>
, and <release-name>
with your preferred names.
Test a payment
Make a payment using our Demo App
Use the Hyperswitch Demo app and make a payment with test card.
Refer our postman collection to try out REST APIs
Last updated
Was this helpful?