Deploy on GCP Using Helm Charts
Last updated
Was this helpful?
Last updated
Was this helpful?
Part 1: Setting Up a Kubernetes Cluster on GCP
Sign In to Google Cloud Console:
Navigate to the , and click on Go to my console.
Create a Project:
Open your project picker:
Click New Project:
Provide a project name, and click Create:
Enable Kubernetes Engine API:
Navigate to APIs & Services > Library or search for it:
Search for Kubernetes Engine API and click Enable:
Google Cloud CLI (gcloud
)
kubectl
Helm
Create the Cluster:
Run the following command to create a Kubernetes cluster:
Replace:
<CLUSTER_NAME>
: A unique name for your cluster.
<ZONE>
: The GCP zone (e.g., us-central1-a
).
<NUMBER_OF_NODES>
: Number of nodes in your cluster.
e2-standard-4
: Machine type with 4 CPUs and 16GB RAM per node.
Example:
Verify the Cluster:
Fetch cluster credentials to allow kubectl
to interact with it:
Confirm the nodes are ready:
Add the Hyperswitch Helm repository:
Update Helm repository to fetch the latest charts:
Label Kubernetes Nodes: Ensure nodes meet the minimum requirements: 4 CPUs and 6GB memory.
Label your nodes:
List nodes to confirm labels:
Create a Namespace:
Create a dedicated namespace for Hyperswitch:
Deploy Hyperswitch using Helm. Replace <release-name>
with your desired release name and <namespace>
with the namespace you created:
Verify the Deployment:
Check the status of all deployed pods:
Ensure all pods are in the Running
state.
That's it! Hyperswitch should be up and running on your GCP account 🎉 🎉
Use the following command for port-forwarding to access the services. Replace <namespace>
with your namespace:
Access the services at:
Afterwards, you’ll be taken straight to the Control Center. If you're just taking things for a spin, feel free to skip authentication and start exploring right away.
View Pod Logs: To check logs for a specific pod in Google Kubernetes Engine (GKE):
View Events: To list events in the namespace sorted by creation time:
Deploy Hyperswitch Helm Chart on GKE: If deploying for the first time or reinstalling, run:
To customize Hyperswitch, clone the Helm chart repository and modify values.yaml
:
Update the values.yaml
file inside hyperswitch-stack/
and apply changes with:
To uninstall Hyperswitch:
To delete the GKE cluster completely:
Once you are done with the test payment, you can explore more about these:
The Google Cloud Command-Line Interface (CLI) is a cross-platform tool that allows you to manage GCP resources. To install gcloud
, please refer to the official Google.
kubectl
is the command-line tool for interacting with Kubernetes clusters. To install kubectl
, please refer to the .
Helm is a package manager for Kubernetes applications. To install Helm, please refer to the .
App server:
Control center:
Hyperswitch Web:
Grafana:
Vector:
Mailhog:
The quickest way to explore Hyperswitch is via the . You can create an account or sign in with your email:
A magic link will be sent to . Click on the link in white:
Use can now use the Hyperswitch Control Center and .
Refer our to try out REST APIs.
How to set up routing rules
How to integrate Hyperswitch with your app
List of supported payment processors and payment methods
AI Powered observability to reduce cost