BRIX On-Premises > BRIX On-Premises Enterprise > Install add-on components for BRIX / Install Hostpath-provisioner

Install Hostpath-provisioner

Hostpath-provisioner is a Kubernetes component. It allows you to dynamically allocate storage for StatefulSets, which provides management for apps that require saving data between restarts.

Installation consists of three steps:

  1. Download the Helm chart and configuration file.
  2. Fill out the configuration file.
  3. Install the hostpath-provisioner chart using Helm in a Kubernetes cluster.

Step 1: Download the Helm chart and configuration file

To install via the internet, obtain the values-hostpath-provisioner.yaml configuration file by executing the command:

helm repo add elma365 https://charts.elma365.tech
helm repo update
helm show values elma365/hostpath-provisioner > values-hostpath-provisioner.yaml

Obtaining the configuration file for installation in a closed loop without internet access

Step 2: Fill out the configuration file

Fill out the values-hostpath-provisioner.yaml configuration file for the Hostpath-provisioner installation:

## hostpath-provisioner settings
hostpath-provisioner:
## selectors to run on specific nodes
  nodeSelector: {}
  affinity: {}
  tolerations: []

Filling in the connection parameters to the private registry for installation in a closed loop without internet access

Step 3: Install the hostpath-provisioner chart using Helm in a Kubernetes cluster

Install the hostpath-provisioner chart in the hostpath-provisioner namespace.

For online installation:

helm upgrade --install hostpath-provisioner elma365/hostpath-provisioner -f values-hostpath-provisioner.yaml -n kube-system

For offline installation without internet access, navigate to the directory with the downloaded chart and execute the command:

helm upgrade --install hostpath-provisioner ./hostpath-provisioner -f values-hostpath-provisioner.yaml -n kube-system