minio
by KubeGems
Bitnami Object Storage based on MinIO(R) is an object storage server, compatible with Amazon S3 cloud storage service, mainly used for storing unstructured data (such as photos, videos, log files, etc.)
About this chart
Bitnami Object Storage Helm Chart based on MinIO®
MinIO® is an object storage server, compatible with Amazon S3 cloud storage service, mainly used for storing unstructured data (such as photos, videos, log files, etc.)
Disclaimer: All software products, projects and company names are trademark™ or registered® trademarks of their respective holders, and use of them does not imply any affiliation or endorsement. This software is licensed to you subject to one or more open source licenses and VMware provides the software on an AS-IS basis. MinIO® is a registered trademark of the MinIO, Inc in the US and other countries. Bitnami is not affiliated, associated, authorized, endorsed by, or in any way officially connected with MinIO Inc.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/minio
Introduction
This chart bootstraps a MinIO® deployment on a Kubernetes cluster using the Helm package manager.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This Helm chart has been tested on top of Bitnami Kubernetes Production Runtime (BKPR). Deploy BKPR to get automated TLS certificates, logging and monitoring for your applications.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volume for Gateway NAS deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/minio
These commands deploy MinIO® on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
The following table lists the configurable parameters of the MinIO® chart and their their default values per section/component:
Global parameters
| Parameter | Description | Default |
|---|---|---|
global.imageRegistry | Global Docker image registry | nil |
global.imagePullSecrets | Global Docker registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
global.storageClass | Global storage class for dynamic provisioning | nil |
global.minio.existingSecret | Global MinIO® credentials (overrides accessKey.password secretKey.password and existingSecret) | {} |
Common parameters
| Parameter | Description | Default |
|---|---|---|
nameOverride | String to partially override common.names.fullname | nil |
fullnameOverride | String to fully override common.names.fullname | nil |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] (evaluated as a template) |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | nil |
MinIO® parameters
| Parameter | Description | Default |
|---|---|---|
image.registry | MinIO® image registry | docker.io |
image.repository | MinIO® image name | bitnami/minio |
image.tag | MinIO® image tag | {TAG_NAME} |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
image.debug | Specify if debug logs should be enabled | false |
clientImage.registry | MinIO® Client image registry | docker.io |
clientImage.repository | MinIO® Client image name | bitnami/minio-client |
clientImage.tag | MinIO® Client image tag | {TAG_NAME} |
mode | MinIO® server mode (standalone or distributed) | standalone |
accessKey.password | MinIO® Access Key. Ignored if existing secret is provided. | random 10 character alphanumeric string |
accessKey.forcePassword | Force users to specify an Access Key | false |
secretKey.password | MinIO® Secret Key. Ignored if existing secret is provided. | random 40 character alphanumeric string |
secretKey.forcePassword | Force users to specify an Secret Key | false |
existingSecret | Existing secret with MinIO® credentials | nil |
useCredentialsFile | Have the secret mounted as a file instead of env vars | false |
forceNewKeys | Force admin credentials (access and secret key) to be reconfigured every time they change in the secrets | false |
tls.enabled | Enable tls in front of the container | true |
tls.existingSecret | The name of the existing secret containing the certificates and key. | nil |
tls.autoGenerated | Generate automatically self-signed TLS certificates | false |
tls.mountPath | The mount path where the secret will be located. | nil |
defaultBuckets | Comma, semi-colon or space separated list of buckets to create (only in standalone mode) | nil |
disableWebUI | Disable MinIO® Web UI | false |
command | Default container command (useful when using custom images) | {} |
args | Default container args (useful when using custom images) | nil |
extraEnv | Extra environment variables to be set on MinIO® container | {} |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | nil |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | nil |
MinIO® deployment/statefulset parameters
| Parameter | Description | Default |
|---|---|---|
schedulerName | Specifies the schedulerName, if it's nil uses kube-scheduler | nil |
statefulset.replicaCount | Number of pods per zone (only for MinIO® distributed mode). Should be even and >= 4 | 4 |
statefulset.zones | Number of zones (only for MinIO® distributed mode) | 1 |
statefulset.drivesPerNode | Number of drives per node (only for MinIO® distributed mode) | 1 |
statefulset.updateStrategy | Statefulset update strategy policy | RollingUpdate |
statefulset.podManagementPolicy | Statefulset pods management policy | Parallel |
deployment.updateStrategy | Deployment update strategy policy | Recreate |
podSecurityContext.enabled | Enable pod Security Context | true |
podSecurityContext.fsGroup | Group ID for the container | 1001 |
containerSecurityContext.enabled | Enable container Security Context | true |
containerSecurityContext.runAsUser | User ID for the container | 1001 |
containerSecurityContext.runAsNonRoot | Avoid running as root User | true |
containerPort | MinIO(R) container port to open | 9000 |
resources.limits | The resources limits for the MinIO® container | {} |
resources.requests | The requested resources for the MinIO® container | {} |
livenessProbe | Liveness probe configuration for MinIO® |
Deploy minio with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has minio on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartminio is pinned at v7.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply