minio

by KubeGems

Helm chartv7.1.1App 2021.6.17

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

ParameterDescriptionDefault
global.imageRegistryGlobal Docker image registrynil
global.imagePullSecretsGlobal Docker registry secret names as an array[] (does not add image pull secrets to deployed pods)
global.storageClassGlobal storage class for dynamic provisioningnil
global.minio.existingSecretGlobal MinIO® credentials (overrides accessKey.password secretKey.password and existingSecret){}

Common parameters

ParameterDescriptionDefault
nameOverrideString to partially override common.names.fullnamenil
fullnameOverrideString to fully override common.names.fullnamenil
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainDefault Kubernetes cluster domaincluster.local
extraDeployArray of extra objects to deploy with the release[] (evaluated as a template)
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)nil

MinIO® parameters

ParameterDescriptionDefault
image.registryMinIO® image registrydocker.io
image.repositoryMinIO® image namebitnami/minio
image.tagMinIO® image tag{TAG_NAME}
image.pullPolicyImage pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[] (does not add image pull secrets to deployed pods)
image.debugSpecify if debug logs should be enabledfalse
clientImage.registryMinIO® Client image registrydocker.io
clientImage.repositoryMinIO® Client image namebitnami/minio-client
clientImage.tagMinIO® Client image tag{TAG_NAME}
modeMinIO® server mode (standalone or distributed)standalone
accessKey.passwordMinIO® Access Key. Ignored if existing secret is provided.random 10 character alphanumeric string
accessKey.forcePasswordForce users to specify an Access Keyfalse
secretKey.passwordMinIO® Secret Key. Ignored if existing secret is provided.random 40 character alphanumeric string
secretKey.forcePasswordForce users to specify an Secret Keyfalse
existingSecretExisting secret with MinIO® credentialsnil
useCredentialsFileHave the secret mounted as a file instead of env varsfalse
forceNewKeysForce admin credentials (access and secret key) to be reconfigured every time they change in the secretsfalse
tls.enabledEnable tls in front of the containertrue
tls.existingSecretThe name of the existing secret containing the certificates and key.nil
tls.autoGeneratedGenerate automatically self-signed TLS certificatesfalse
tls.mountPathThe mount path where the secret will be located.nil
defaultBucketsComma, semi-colon or space separated list of buckets to create (only in standalone mode)nil
disableWebUIDisable MinIO® Web UIfalse
commandDefault container command (useful when using custom images){}
argsDefault container args (useful when using custom images)nil
extraEnvExtra environment variables to be set on MinIO® container{}
extraEnvVarsCMName of existing ConfigMap containing extra env varsnil
extraEnvVarsSecretName of existing Secret containing extra env varsnil

MinIO® deployment/statefulset parameters

ParameterDescriptionDefault
schedulerNameSpecifies the schedulerName, if it's nil uses kube-schedulernil
statefulset.replicaCountNumber of pods per zone (only for MinIO® distributed mode). Should be even and >= 44
statefulset.zonesNumber of zones (only for MinIO® distributed mode)1
statefulset.drivesPerNodeNumber of drives per node (only for MinIO® distributed mode)1
statefulset.updateStrategyStatefulset update strategy policyRollingUpdate
statefulset.podManagementPolicyStatefulset pods management policyParallel
deployment.updateStrategyDeployment update strategy policyRecreate
podSecurityContext.enabledEnable pod Security Contexttrue
podSecurityContext.fsGroupGroup ID for the container1001
containerSecurityContext.enabledEnable container Security Contexttrue
containerSecurityContext.runAsUserUser ID for the container1001
containerSecurityContext.runAsNonRootAvoid running as root Usertrue
containerPortMinIO(R) container port to open9000
resources.limitsThe resources limits for the MinIO® container{}
resources.requestsThe requested resources for the MinIO® container{}
livenessProbeLiveness 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartminio is pinned at v7.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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