minio
by [riftbit]
Bitnami Object Storage based on 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.)
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. MinIO® is licensed under GNU AGPL v3.0.
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
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
global.minio | Global MinIO® credentials | {} |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
clusterDomain | Default Kubernetes cluster domain | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
MinIO® parameters
| Name | Description | Value |
|---|---|---|
image.registry | MinIO® image registry | docker.io |
image.repository | MinIO® image repository | bitnami/minio |
image.tag | MinIO® image tag (immutable tags are recommended) | 2021.9.18-debian-10-r0 |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
clientImage.registry | MinIO® Client image registry | docker.io |
clientImage.repository | MinIO® Client image repository | bitnami/minio-client |
clientImage.tag | MinIO® Client image tag (immutable tags are recommended) | 2021.9.2-debian-10-r17 |
mode | MinIO® server mode (standalone or distributed) | standalone |
accessKey.password | MinIO® Access Key. Ignored if existing secret is provided. | "" |
accessKey.forcePassword | Option to force users to specify a password. That is required for 'helm upgrade' to work properly. | false |
secretKey.password | MinIO® Secret Key. Ignored if existing secret is provided. | "" |
secretKey.forcePassword | Option to force users to specify a password. That is required for 'helm upgrade' to work properly. | false |
existingSecret | Use existing secret (ignores accessKey, and secretKey passwords) | "" |
useCredentialsFile | Mount MinIO® secret as a file instead of passing environment variable | false |
forceNewKeys | Force admin credentials (access and secret key) to be reconfigured every time they change in the secrets | false |
defaultBuckets | Comma, semi-colon or space separated list of buckets to create at initialization (only in standalone mode) | "" |
disableWebUI | Disable MinIO® Web UI | false |
tls.enabled | Enable tls in front of the container | false |
tls.existingSecret | Name of an existing secret holding the certificate information | "" |
tls.secretName | DEPRECATED. Use tls.existingSecret instead. | "" |
tls.mountPath | The mount path where the secret will be located | "" |
extraEnv | Extra environment variables to be set on MinIO® container | {} |
extraEnvVarsCM | ConfigMap with extra environment variables | "" |
extraEnvVarsSecret | Secret with extra environment variables | "" |
command | Default container command (useful when using custom images). Use array form | [] |
args | Default container args (useful when using custom images). Use array form | [] |
MinIO® deployment/statefulset parameters
| Name | Description | Value |
|---|---|---|
schedulerName | Specifies the schedulerName, if it's nil uses kube-scheduler | "" |
deployment.updateStrategy.type | Set to Recreate if you use persistent volume that cannot be mounted by more than one pods to make sure the pods is destroyed first. | Recreate |
statefulset.updateStrategy | Update strategy, can be set to RollingUpdate or OnDelete | RollingUpdate |
statefulset.podManagementPolicy | StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel | Parallel |
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 attached to every node (only for MinIO® distributed mode) | 1 |
hostAliases | MinIO® pod host aliases | [] |
containerPorts.api | MinIO® container port to open for MinIO® API | 9000 |
containerPorts.console | MinIO® container port to open for MinIO® Console | 9001 |
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 |
podLabels | Extra labels for MinIO® pods | {} |
podAnnotations | Annotations for MinIO® pods |
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 v8.1.5 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