Helm is a package manager for Kubernetes applications that simplifies the deployment and management of applications in a Kubernetes cluster. Using Helm, you can package and release your applications as charts, which are pre-configured Kubernetes resources.

You can learn more about helm here

Helm Charts for Permify

Permify provides Helm Charts to facilitate the deployment and management of Permify in Kubernetes environments. Helm Charts encapsulate all the necessary Kubernetes resources and configurations required to run Permify, making it easy to deploy and maintain.(helm-permify-github)

Helm installation

Prerequisite

Installing the Helm Chart pretty easy but there is a pre-requisite of setting up Kubernetes Cluster.

If you do not have a Kubernetes cluster you can choose any of the four below options.

1. EKS-Amazon Elastic k8s service

2. GKE-Google k8s engine

3. AKS-Azure kubernetes Service

4. microk8s

1.1: Install Helm Chart Using Script

If you like doing everything from scratch then I would suggest you to install the Helm Chart Using script.

Run the following scripts -

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh

You can verify the installation by running the command

helm version

If helm is installed the terminal will provide this as output

WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/vagrant/.kube/config
version.BuildInfo{Version:"v3.4.0", GitCommit:"7090a89efc8a18f3d8178bf47d2462450349a004", GitTreeState:"clean", GoVersion:"go1.14.10"}

1.2: Install Helm Chart with package Manager

If you like package manager then you use the following install command based on your preference -

Homebrew

brew install helm

Chocolatey

choco install kubernetes-helm

Scoop

scoop install helm

Snap

sudo snap install helm --classic

If helm is installed the terminal will provide this as output

WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/vagrant/.kube/config
version.BuildInfo{Version:"v3.4.0", GitCommit:"7090a89efc8a18f3d8178bf47d2462450349a004", GitTreeState:"clean", GoVersion:"go1.14.10"}

Adding the Permify Helm Charts Repository

To use Permify Helm Charts, you need to add the Permify Helm Charts repository to Helm. Follow these steps:

1. Open your terminal.

2. Run the following command to add the Permify Helm Charts repository:

$ helm repo add permify https://permify.github.io/helm-charts

3. After adding the Permify Helm Charts repository, you can search for available charts using the following command:

$ helm search repo permify

Installing Permify using Helm Charts

Once you’ve added the Permify Helm Charts repository, you can install Permify using Helm

helm install permify permify/permify