Install Portworx on Kubernetes via Helm
The Portworx Helm chart deploys Portworx and Stork in your Kubernetes cluster.
Pre-requisites
- Helm has been installed on the client machine from where you would install the chart. (https://docs.helm.sh/using_helm/#installing-helm)
- Tiller version 2.9.0 and above
- Portworx pre-requisites here
Install
To install Portworx via the chart with the release name my-release
run the following commands.
First clone the Portworx Helm chart repo.
git clone https://github.com/portworx/helm.git
Now install the chart and substitute relevant values for your setup.
clusterName
should be a unique name identifying your Portworx cluster. The default value is mycluster
, but it is suggested to update it with your naming scheme.
For eg:
helm install --debug --name my-release --set etcdEndPoint=etcd:http://192.168.70.90:2379,clusterName=$(uuidgen) ./helm/charts/portworx/
Refer to all the configuration options while deploying Portworx via the Helm chart: Configurable Options
Uninstall
Below are the steps to wipe your entire Portworx installation.
Run cluster-scoped wipe command below. This has to be run from the client machine which has kubectl access.
curl -fsL "https://install.portworx.com/px-wipe" | bash
Delete the helm release
helm delete <release name> --purge
Post-Install
Once you have a running Portworx installation, below sections are useful.
-
Storage operations Learn how to perform various storage operations using Portworx on Kubernetes
-
Stateful applications on Kubernetes Learn how to install various applications with Portworx on Kubernetes
-
Operate and Maintain Operations guide for running Portworx in Production with Kubernetes
Troubleshooting helm installation failures
Refer to the common troubleshooting instructions for Portworx deployments via Helm Troubleshooting portworx installation