minio

by joaquinito2051

Helm chartv0.1.3App 2019.5.14

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

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.)

TL;DR;

$ helm install <helm-repo>/minio

$ helm install 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.8+ with Beta APIs enabled
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release <helm-repo>/minio

$ helm install --name my-release bitnami/minio The command deploys MinIO on the Kubernetes cluster in the default configuration. The configuration 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.

Configuration

The following table lists the configurable parameters of the MinIO chart and their default values.

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.minio.existingSecretName of existing secret to use for MinIO credentials (overrides existingSecret)nil
global.minio.accessKeyMinIO Access Key (overrides accessKey.password)nil
global.minio.secretKeyMinIO Secret Key (overrides secretKey.password)nil
image.registryMinIO image registrydocker.io
image.repositoryMinIO image namebitnami/minio
image.tagMinIO image tag{VERSION}
image.pullPolicyImage pull policyAlways
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{VERSION}
modeMinIO server mode (standalone or distributed)standalone
statefulset.replicaCountNumber of pods (only for Minio distributed mode). Should be 4 <= x <= 324
statefulset.updateStrategyStatefulset update strategy policyRollingUpdate
statefulset.podManagementpolicyStatefulset pods management policyParallel
existingSecretExisting secret with MinIO credentialsnil
useCredentialsFileHave the secret mounted as a file instead of env varsfalse
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
defaultBucketsComma, semi-colon or space separated list of buckets to create (only in standalone mode)nil
disableWebUIDisable MinIO Web UIfalse
extraEnvAny extra environment variables you would like to pass to the pods{}
podAnnotationsAnnotations to be added to pods{}
antiAffinityPod anti-affinity policysoft
nodeAffinityNode affinity policynil
resourcesPod resources{}
securityContext.enabledEnable security contexttrue
securityContext.fsGroupGroup ID for the container1001
securityContext.runAsUserUser ID for the container1001
livenessProbe.enabledEnable/disable the Liveness probetrue
livenessProbe.initialDelaySecondsDelay before liveness probe is initiated60
livenessProbe.periodSecondsHow often to perform the probe10
livenessProbe.timeoutSecondsWhen the probe times out5
livenessProbe.successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.1
livenessProbe.failureThresholdMinimum consecutive failures for the probe to be considered failed after having succeeded.6
readinessProbe.enabledEnable/disable the Readiness probetrue
readinessProbe.initialDelaySecondsDelay before readiness probe is initiated5
readinessProbe.periodSecondsHow often to perform the probe10
readinessProbe.timeoutSecondsWhen the probe times out5
readinessProbe.failureThresholdMinimum consecutive failures for the probe to be considered failed after having succeeded.6
readinessProbe.successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.1
persistence.enabledUse a PVC to persist datatrue
persistence.mountPathPath to mount the volume at/data
persistence.storageClassStorage class of backing PVCnil (uses alpha storage class annotation)
persistence.accessModeUse volume as ReadOnly or ReadWriteReadWriteOnce
persistence.sizeSize of data volume8Gi
persistence.annotationsPersistent Volume annotations{}
persistence.existingClaimName of an existing PVC to use (only in "standalone" mode)nil
service.typeKubernetes Service typeClusterIP
service.portMinIO service port9000
service.nodePortPort to bind to for NodePort service typenil
service.loadBalancerIPStatic IP Address to use for LoadBalancer service typenil
service.annotationsKubernetes service annotations{}
ingress.certManagerAdd annotations for cert-managerfalse
ingress.annotationsIngress annotations[]
ingress.hosts[0].nameHostname to your MinIO installation

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 v0.1.3 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