|
@@ -12,79 +12,6 @@ Introduction
|
|
|
|
|
|
This chart bootstraps MinIO deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
|
|
|
|
|
-Prerequisites
|
|
|
--------------
|
|
|
-
|
|
|
-- Kubernetes 1.4+ with Beta APIs enabled for default standalone mode.
|
|
|
-- Kubernetes 1.5+ with Beta APIs enabled to run MinIO in [distributed mode](#distributed-minio).
|
|
|
-- PV provisioner support in the underlying infrastructure.
|
|
|
-
|
|
|
-Configure MinIO Helm repo
|
|
|
---------------------
|
|
|
-```bash
|
|
|
-$ helm repo add minio https://helm.min.io/
|
|
|
-```
|
|
|
-
|
|
|
-Installing the Chart
|
|
|
---------------------
|
|
|
-
|
|
|
-Install this chart using:
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm install --namespace minio --generate-name minio/minio
|
|
|
-```
|
|
|
-
|
|
|
-The command deploys MinIO on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
|
|
|
-
|
|
|
-### Release name
|
|
|
-
|
|
|
-An instance of a chart running in a Kubernetes cluster is called a release. Each release is identified by a unique name within the cluster. Helm automatically assigns a unique release name after installing the chart. You can also set your preferred name by:
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm install my-release minio/minio
|
|
|
-```
|
|
|
-
|
|
|
-### Access and Secret keys
|
|
|
-
|
|
|
-By default a pre-generated access and secret key will be used. To override the default keys, pass the access and secret keys as arguments to helm install.
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm install --set accessKey=myaccesskey,secretKey=mysecretkey --generate-name minio/minio
|
|
|
-```
|
|
|
-
|
|
|
-Uninstalling the Chart
|
|
|
-----------------------
|
|
|
-
|
|
|
-Assuming your release is named as `my-release`, delete it using the command:
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm delete my-release
|
|
|
-```
|
|
|
-
|
|
|
-or
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm uninstall my-release
|
|
|
-```
|
|
|
-
|
|
|
-The command removes all the Kubernetes components associated with the chart and deletes the release.
|
|
|
-
|
|
|
-Upgrading the Chart
|
|
|
--------------------
|
|
|
-
|
|
|
-You can use Helm to update MinIO version in a live release. Assuming your release is named as `my-release`, get the values using the command:
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm get values my-release > old_values.yaml
|
|
|
-```
|
|
|
-
|
|
|
-Then change the field `image.tag` in `old_values.yaml` file with MinIO image tag you want to use. Now update the chart using
|
|
|
-
|
|
|
-```bash
|
|
|
-$ helm upgrade -f old_values.yaml my-release minio/minio
|
|
|
-```
|
|
|
-
|
|
|
-Default upgrade strategies are specified in the `values.yaml` file. Update these fields if you'd like to use a different strategy.
|
|
|
|
|
|
Configuration
|
|
|
-------------
|