yawyd313 f1ed1fab88 init | 11 månader sedan | |
---|---|---|
.. | ||
charts | 11 månader sedan | |
templates | 11 månader sedan | |
.helmignore | 11 månader sedan | |
Chart.lock | 11 månader sedan | |
Chart.yaml | 11 månader sedan | |
README.md | 11 månader sedan | |
values.yaml | 11 månader sedan |
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.).
Overview of Bitnami Object Storage based on MinIO®
Disclaimer: All software products, projects and company names are trademark(TM) or registered(R) 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(R) 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(R) is licensed under GNU AGPL v3.0.
helm install my-release oci://registry-1.docker.io/bitnamicharts/minio
Looking to use Bitnami Object Storage based on MinIOreg; in production? Try VMware Tanzu Application Catalog, the enterprise edition of Bitnami Application Catalog.
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.
To install the chart with the release name my-release
:
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/minio
Note: You need to substitute the placeholders
REGISTRY_NAME
andREPOSITORY_NAME
with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.io
andREPOSITORY_NAME=bitnamicharts
.
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
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.
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) | "" |
Name | Description | Value |
---|---|---|
nameOverride |
String to partially override common.names.fullname template (will maintain the release name) | "" |
namespaceOverride |
String to fully override common.names.namespace | "" |
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 | [] |
Name | Description | Value |
---|---|---|
image.registry |
MinIO® image registry | REGISTRY_NAME |
image.repository |
MinIO® image repository | REPOSITORY_NAME/minio |
image.digest |
MinIO® image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
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 | REGISTRY_NAME |
clientImage.repository |
MinIO® Client image repository | REPOSITORY_NAME/minio-client |
clientImage.digest |
MinIO® Client image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
mode |
MinIO® server mode (standalone or distributed ) |
standalone |
auth.rootUser |
MinIO® root username | admin |
auth.rootPassword |
Password for MinIO® root user | "" |
auth.existingSecret |
Use existing secret for credentials details (auth.rootUser and auth.rootPassword will be ignored and picked up from this secret). The secret has to contain the keys root-user and root-password ) |
"" |
auth.forcePassword |
Force users to specify required passwords | false |
auth.useCredentialsFiles |
Mount credentials as a files instead of using an environment variable | false |
auth.forceNewKeys |
Force root credentials (user and password) 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.autoGenerated |
Generate automatically self-signed TLS certificates | false |
tls.existingSecret |
Name of an existing secret holding the certificate information | "" |
tls.mountPath |
The mount path where the secret will be located | "" |
extraEnvVars |
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 | [] |
Name | Description | Value |
---|---|---|
schedulerName |
Specifies the schedulerName, if it's nil uses kube-scheduler | "" |
terminationGracePeriodSeconds |
In seconds, time the given to the MinIO pod needs to terminate gracefully | "" |
deployment.updateStrategy.type |
Deployment strategy type | Recreate |
statefulset.updateStrategy.type |
StatefulSet strategy type | 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 |
provisioning.enabled |
Enable MinIO® provisioning Job | false |
provisioning.schedulerName |
Name of the k8s scheduler (other than default) for MinIO® provisioning | "" |
provisioning.nodeSelector |
Node labels for pod assignment. Evaluated as a template. | {} |
provisioning.podLabels |
Extra labels for provisioning pods | {} |
provisioning.podAnnotations |
Provisioning Pod annotations. | {} |
provisioning.command |
Default provisioning container command (useful when using custom images). Use array form | [] |
provisioning.args |
Default provisioning container args (useful when using custom images). Use array form | [] |
provisioning.extraCommands |
Optionally specify extra list of additional commands for MinIO® provisioning pod | [] |
provisioning.extraVolumes |
Optionally specify extra list of additional volumes for MinIO® provisioning pod | [] |
provisioning.extraVolumeMounts |
Optionally specify extra list of additional volumeMounts for MinIO® provisioning container | [] |
provisioning.resources.limits |
The resources limits for the container | {} |
provisioning.resources.requests |
The requested resources for the container | {} |
provisioning.policies |
MinIO® policies provisioning | [] |
provisioning.users |
MinIO® users provisioning. Can be used in addition to provisioning.usersExistingSecrets. | [] |
provisioning.usersExistingSecrets |
Array if existing secrets containing MinIO® users to be provisioned. Can be used in addition to provisioning.users. | [] |
provisioning.groups |
MinIO® groups provisioning | [] |
provisioning.buckets |
MinIO® buckets, versioning, lifecycle, quota and tags provisioning | [] |
provisioning.config |
MinIO® config provisioning | [] |
provisioning.podSecurityContext.enabled |
Enable pod Security Context | true |
provisioning.podSecurityContext.fsGroupChangePolicy |
Set filesystem group change policy | Always |
provisioning.podSecurityContext.sysctls |
Set kernel settings using the sysctl interface | [] |
provisioning.podSecurityContext.supplementalGroups |
Set filesystem extra groups | [] |
provisioning.podSecurityContext.fsGroup |
Group ID for the container | 1001 |
provisioning.containerSecurityContext.enabled |
Enabled containers' Security Context | true |
provisioning.containerSecurityContext.seLinuxOptions |
Set SELinux options in container | {} |
provisioning.containerSecurityContext.runAsUser |
Set containers' Security Context runAsUser | 1001 |
provisioning.containerSecurityContext.runAsNonRoot |
Set container's Security Context runAsNonRoot | true |
provisioning.containerSecurityContext.privileged |
Set container's Security Context privileged | false |
provisioning.containerSecurityContext.readOnlyRootFilesystem |
Set container's Security Context readOnlyRootFilesystem | false |
provisioning.containerSecurityContext.allowPrivilegeEscalation |
Set container's Security Context allowPrivilegeEscalation | false |
provisioning.containerSecurityContext.capabilities.drop |
List of capabilities to be dropped | ["ALL"] |
provisioning.containerSecurityContext.seccompProfile.type |
Set container's Security Context seccomp profile | RuntimeDefault |
provisioning.cleanupAfterFinished.enabled |
Enables Cleanup for Finished Jobs | false |
provisioning.cleanupAfterFinished.seconds |
Sets the value of ttlSecondsAfterFinished | 600 |
automountServiceAccountToken |
Mount Service Account token in pod | false |
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.sysctls |
Set kernel settings using the sysctl interface | [] |
podSecurityContext.supplementalGroups |
Set filesystem extra groups | [] |
podSecurityContext.fsGroup |
Group ID for the container | 1001 |
podSecurityContext.fsGroupChangePolicy |
Set filesystem group change policy | OnRootMismatch |
podSecurityContext.sysctls |
Set kernel settings using the sysctl interface | [] |
podSecurityContext.supplementalGroups |
Set filesystem extra groups | [] |
podSecurityContext.fsGroupChangePolicy |
When K8s should preform chown on attached volumes | OnRootMismatch |
containerSecurityContext.enabled |
Enabled containers' Security Context | true |
containerSecurityContext.seLinuxOptions |
Set SELinux options in container | {} |
containerSecurityContext.runAsUser |
Set containers' Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot |
Set container's Security Context runAsNonRoot | true |
containerSecurityContext.privileged |
Set container's Security Context privileged | false |
containerSecurityContext.readOnlyRootFilesystem |
Set container's Security Context readOnlyRootFilesystem | false |
containerSecurityContext.allowPrivilegeEscalation |
Set container's Security Context allowPrivilegeEscalation | false |
containerSecurityContext.capabilities.drop |
List of capabilities to be dropped | ["ALL"] |
containerSecurityContext.seccompProfile.type |
Set container's Security Context seccomp profile | RuntimeDefault |
podLabels |
Extra labels for MinIO® pods | {} |
podAnnotations |
Annotations for MinIO® pods | {} |
podAffinityPreset |
Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard |
"" |
podAntiAffinityPreset |
Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard |
soft |
nodeAffinityPreset.type |
Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard |
"" |
nodeAffinityPreset.key |
Node label key to match. Ignored if affinity is set. |
"" |
nodeAffinityPreset.values |
Node label values to match. Ignored if affinity is set. |
[] |
affinity |
Affinity for pod assignment. Evaluated as a template. | {} |
nodeSelector |
Node labels for pod assignment. Evaluated as a template. | {} |
tolerations |
Tolerations for pod assignment. Evaluated as a template. | [] |
topologySpreadConstraints |
Topology Spread Constraints for MinIO® pods assignment spread across your cluster among failure-domains | [] |
priorityClassName |
MinIO® pods' priorityClassName | "" |
resources.limits |
The resources limits for the MinIO® container | {} |
resources.requests |
The requested resources for the MinIO® container | {} |
livenessProbe.enabled |
Enable livenessProbe | true |
livenessProbe.initialDelaySeconds |
Initial delay seconds for livenessProbe | 5 |
livenessProbe.periodSeconds |
Period seconds for livenessProbe | 5 |
livenessProbe.timeoutSeconds |
Timeout seconds for livenessProbe | 5 |
livenessProbe.failureThreshold |
Failure threshold for livenessProbe | 5 |
livenessProbe.successThreshold |
Success threshold for livenessProbe | 1 |
readinessProbe.enabled |
Enable readinessProbe | true |
readinessProbe.initialDelaySeconds |
Initial delay seconds for readinessProbe | 5 |
readinessProbe.periodSeconds |
Period seconds for readinessProbe | 5 |
readinessProbe.timeoutSeconds |
Timeout seconds for readinessProbe | 1 |
readinessProbe.failureThreshold |
Failure threshold for readinessProbe | 5 |
readinessProbe.successThreshold |
Success threshold for readinessProbe | 1 |
startupProbe.enabled |
Enable startupProbe | false |
startupProbe.initialDelaySeconds |
Initial delay seconds for startupProbe | 0 |
startupProbe.periodSeconds |
Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds |
Timeout seconds for startupProbe | 5 |
startupProbe.failureThreshold |
Failure threshold for startupProbe | 60 |
startupProbe.successThreshold |
Success threshold for startupProbe | 1 |
customLivenessProbe |
Override default liveness probe | {} |
customReadinessProbe |
Override default readiness probe | {} |
customStartupProbe |
Override default startup probe | {} |
lifecycleHooks |
for the MinIO® container(s) to automate configuration before or after startup | {} |
extraVolumes |
Optionally specify extra list of additional volumes for MinIO® pods | [] |
extraVolumeMounts |
Optionally specify extra list of additional volumeMounts for MinIO® container(s) | [] |
initContainers |
Add additional init containers to the MinIO® pods | [] |
sidecars |
Add additional sidecar containers to the MinIO® pods | [] |
Name | Description | Value |
---|---|---|
service.type |
MinIO® service type | ClusterIP |
service.ports.api |
MinIO® API service port | 9000 |
service.ports.console |
MinIO® Console service port | 9001 |
service.nodePorts.api |
Specify the MinIO® API nodePort value for the LoadBalancer and NodePort service types | "" |
service.nodePorts.console |
Specify the MinIO® Console nodePort value for the LoadBalancer and NodePort service types | "" |
service.clusterIP |
Service Cluster IP | "" |
service.loadBalancerIP |
loadBalancerIP if service type is LoadBalancer (optional, cloud specific) |
"" |
service.loadBalancerSourceRanges |
Addresses that are allowed when service is LoadBalancer | [] |
service.externalTrafficPolicy |
Enable client source IP preservation | Cluster |
service.extraPorts |
Extra ports to expose in the service (normally used with the sidecar value) |
[] |
service.annotations |
Annotations for MinIO® service | {} |
service.headless.annotations |
Annotations for the headless service. | {} |
ingress.enabled |
Enable ingress controller resource for MinIO Console | false |
ingress.apiVersion |
Force Ingress API version (automatically detected if not set) | "" |
ingress.ingressClassName |
IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | "" |
ingress.hostname |
Default host for the ingress resource | minio.local |
ingress.path |
The Path to MinIO®. You may need to set this to '/*' in order to use this with ALB ingress controllers. | / |
ingress.pathType |
Ingress path type | ImplementationSpecific |
ingress.servicePort |
Service port to be used | minio-console |
ingress.annotations |
Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | {} |
ingress.tls |
Enable TLS configuration for the hostname defined at ingress.hostname parameter |
false |
ingress.selfSigned |
Create a TLS secret for this ingress record using self-signed certificates generated by Helm | false |
ingress.extraHosts |
The list of additional hostnames to be covered with this ingress record. | [] |
ingress.extraPaths |
Any additional paths that may need to be added to the ingress under the main host | [] |
ingress.extraTls |
The tls configuration for additional hostnames to be covered with this ingress record. | [] |
ingress.secrets |
If you're providing your own certificates, please use this to add the certificates as secrets | [] |
ingress.extraRules |
Additional rules to be covered with this ingress record | [] |
apiIngress.enabled |
Enable ingress controller resource for MinIO API | false |
apiIngress.apiVersion |
Force Ingress API version (automatically detected if not set) | "" |
apiIngress.ingressClassName |
IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | "" |
apiIngress.hostname |
Default host for the ingress resource | minio.local |
apiIngress.path |
The Path to MinIO®. You may need to set this to '/*' in order to use this with ALB ingress controllers. | / |
apiIngress.pathType |
Ingress path type | ImplementationSpecific |
apiIngress.servicePort |
Service port to be used | minio-api |
apiIngress.annotations |
Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | {} |
apiIngress.tls |
Enable TLS configuration for the hostname defined at apiIngress.hostname parameter |
false |
apiIngress.selfSigned |
Create a TLS secret for this ingress record using self-signed certificates generated by Helm | false |
apiIngress.extraHosts |
The list of additional hostnames to be covered with this ingress record. | [] |
apiIngress.extraPaths |
Any additional paths that may need to be added to the ingress under the main host | [] |
apiIngress.extraTls |
The tls configuration for additional hostnames to be covered with this ingress record. | [] |
apiIngress.secrets |
If you're providing your own certificates, please use this to add the certificates as secrets | [] |
apiIngress.extraRules |
Additional rules to be covered with this ingress record | [] |
networkPolicy.enabled |
Enable the default NetworkPolicy policy | false |
networkPolicy.allowExternal |
Don't require client label for connections | true |
networkPolicy.extraFromClauses |
Allows to add extra 'from' clauses to the NetworkPolicy | [] |
Name | Description | Value |
---|---|---|
persistence.enabled |
Enable MinIO® data persistence using PVC. If false, use emptyDir | true |
persistence.storageClass |
PVC Storage Class for MinIO® data volume | "" |
persistence.mountPath |
Data volume mount path | /bitnami/minio/data |
persistence.accessModes |
PVC Access Modes for MinIO® data volume | ["ReadWriteOnce"] |
persistence.size |
PVC Storage Request for MinIO® data volume | 8Gi |
persistence.annotations |
Annotations for the PVC | {} |
persistence.existingClaim |
Name of an existing PVC to use (only in standalone mode) |
"" |
Name | Description | Value |
---|---|---|
volumePermissions.enabled |
Enable init container that changes the owner and group of the persistent volume(s) mountpoint to runAsUser:fsGroup |
false |
volumePermissions.image.registry |
Init container volume-permissions image registry | REGISTRY_NAME |
volumePermissions.image.repository |
Init container volume-permissions image repository | REPOSITORY_NAME/os-shell |
volumePermissions.image.digest |
Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
volumePermissions.image.pullPolicy |
Init container volume-permissions image pull policy | IfNotPresent |
volumePermissions.image.pullSecrets |
Specify docker-registry secret names as an array | [] |
volumePermissions.resources.limits |
Init container volume-permissions resource limits | {} |
volumePermissions.resources.requests |
Init container volume-permissions resource requests | {} |
volumePermissions.containerSecurityContext.seLinuxOptions |
Set SELinux options in container | {} |
volumePermissions.containerSecurityContext.runAsUser |
User ID for the init container | 0 |
Name | Description | Value |
---|---|---|
serviceAccount.create |
Enable the creation of a ServiceAccount for MinIO® pods | true |
serviceAccount.name |
Name of the created ServiceAccount | "" |
serviceAccount.automountServiceAccountToken |
Enable/disable auto mounting of the service account token | false |
serviceAccount.annotations |
Custom annotations for MinIO® ServiceAccount | {} |
Name | Description | Value |
---|---|---|
pdb.create |
Enable/disable a Pod Disruption Budget creation | false |
pdb.minAvailable |
Minimum number/percentage of pods that must still be available after the eviction | 1 |
pdb.maxUnavailable |
Maximum number/percentage of pods that may be made unavailable after the eviction | "" |
Name | Description | Value |
---|---|---|
metrics.prometheusAuthType |
Authentication mode for Prometheus (jwt or public ) |
public |
metrics.serviceMonitor.enabled |
If the operator is installed in your cluster, set to true to create a Service Monitor Entry | false |
metrics.serviceMonitor.namespace |
Namespace which Prometheus is running in | "" |
metrics.serviceMonitor.labels |
Extra labels for the ServiceMonitor | {} |
metrics.serviceMonitor.jobLabel |
The name of the label on the target service to use as the job name in Prometheus | "" |
metrics.serviceMonitor.paths |
HTTP paths to scrape for metrics | ["/minio/v2/metrics/cluster","/minio/v2/metrics/node"] |
metrics.serviceMonitor.interval |
Interval at which metrics should be scraped | 30s |
metrics.serviceMonitor.scrapeTimeout |
Specify the timeout after which the scrape is ended | "" |
metrics.serviceMonitor.metricRelabelings |
MetricRelabelConfigs to apply to samples before ingestion | [] |
metrics.serviceMonitor.relabelings |
Metrics relabelings to add to the scrape endpoint, applied before scraping | [] |
metrics.serviceMonitor.honorLabels |
Specify honorLabels parameter to add the scrape endpoint | false |
metrics.serviceMonitor.selector |
Prometheus instance selector labels | {} |
metrics.serviceMonitor.apiVersion |
ApiVersion for the serviceMonitor Resource (defaults to "monitoring.coreos.com/v1") | "" |
metrics.serviceMonitor.tlsConfig |
Additional TLS configuration for metrics endpoint with "https" scheme | {} |
metrics.prometheusRule.enabled |
Create a Prometheus Operator PrometheusRule (also requires metrics.enabled to be true and metrics.prometheusRule.rules ) |
false |
metrics.prometheusRule.namespace |
Namespace for the PrometheusRule Resource (defaults to the Release Namespace) | "" |
metrics.prometheusRule.additionalLabels |
Additional labels that can be used so PrometheusRule will be discovered by Prometheus | {} |
metrics.prometheusRule.rules |
Prometheus Rule definitions | [] |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
. For example,
helm install my-release \
--set auth.rootUser=minio-admin \
--set auth.rootPassword=minio-secret-password \
oci://REGISTRY_NAME/REPOSITORY_NAME/minio
Note: You need to substitute the placeholders
REGISTRY_NAME
andREPOSITORY_NAME
with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.io
andREPOSITORY_NAME=bitnamicharts
.
The above command sets the MinIO® Server root user and password to minio-admin
and minio-secret-password
, respectively.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install my-release -f values.yaml oci://REGISTRY_NAME/REPOSITORY_NAME/minio
Note: You need to substitute the placeholders
REGISTRY_NAME
andREPOSITORY_NAME
with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.io
andREPOSITORY_NAME=bitnamicharts
. Tip: You can use the default values.yaml
It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.
Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.
By default, this chart provisions a MinIO® server in standalone mode. You can start MinIO® server in distributed mode with the following parameter: mode=distributed
This chart bootstrap MinIO® server in distributed mode with 4 nodes by default. You can change the number of nodes using the statefulset.replicaCount
parameter. For instance, you can deploy the chart with 8 nodes using the following parameters:
mode=distributed
statefulset.replicaCount=8
You can also bootstrap MinIO® server in distributed mode in several zones, and using multiple drives per node. For instance, you can deploy the chart with 2 nodes per zone on 2 zones, using 2 drives per node:
mode=distributed
statefulset.replicaCount=2
statefulset.zones=2
statefulset.drivesPerNode=2
Note: The total number of drives should be greater than 4 to guarantee erasure coding. Please set a combination of nodes, and drives per node that match this condition.
MinIO® exports Prometheus metrics at /minio/v2/metrics/cluster
. To allow Prometheus collecting your MinIO® metrics, modify the values.yaml
adding the corresponding annotations:
- podAnnotations: {}
+ podAnnotations:
+ prometheus.io/scrape: "true"
+ prometheus.io/path: "/minio/v2/metrics/cluster"
+ prometheus.io/port: "9000"
Find more information about MinIO® metrics at https://docs.min.io/docs/how-to-monitor-minio-using-prometheus.html
The Bitnami Object Storage based on MinIO(®) image stores data at the /data
path of the container.
The chart mounts a Persistent Volume at this location. The volume is created using dynamic volume provisioning.
As the image run as non-root by default, it is necessary to adjust the ownership of the persistent volume so that the container can write data into it.
By default, the chart is configured to use Kubernetes Security Context to automatically change the ownership of the volume. However, this feature does not work in all Kubernetes distributions. As an alternative, this chart supports using an initContainer to change the ownership of the volume before mounting it in the final destination.
You can enable this initContainer by setting volumePermissions.enabled
to true
.
This chart provides support for Ingress resources. If you have an ingress controller installed on your cluster, such as nginx-ingress-controller or contour you can utilize the ingress controller to serve your application.
To enable Ingress integration, set ingress.enabled
to true
. The ingress.hostname
property can be used to set the host name. The ingress.tls
parameter can be used to add the TLS configuration for this host. It is also possible to have more than one host, with a separate TLS configuration for each host. Learn more about configuring and using Ingress.
The chart also facilitates the creation of TLS secrets for use with the Ingress controller, with different options for certificate management. Learn more about TLS secrets.
In case you want to add extra environment variables (useful for advanced operations like custom init scripts), you can use the extraEnvVars
property.
extraEnvVars:
- name: MINIO_LOG_LEVEL
value: DEBUG
Alternatively, you can use a ConfigMap or a Secret with the environment variables. To do so, use the extraEnvVarsCM
or the extraEnvVarsSecret
values.
If you have a need for additional containers to run within the same pod as the MinIO® app (e.g. an additional metrics or logging exporter), you can do so via the sidecars
config parameter. Simply define your container according to the Kubernetes container spec.
sidecars:
- name: your-image-name
image: your-image
imagePullPolicy: Always
ports:
- name: portname
containerPort: 1234
Similarly, you can add extra init containers using the initContainers
parameter.
initContainers:
- name: your-image-name
image: your-image
imagePullPolicy: Always
ports:
- name: portname
containerPort: 1234
This chart allows you to set your custom affinity using the affinity
parameter. Find more information about Pod's affinity in the kubernetes documentation.
As an alternative, you can use of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the bitnami/common chart. To do so, set the podAffinityPreset
, podAntiAffinityPreset
, or nodeAffinityPreset
parameters.
There are cases where you may want to deploy extra objects, such a ConfigMap containing your app's configuration or some extra deployment with a micro service used by your app. For covering this case, the chart allows adding the full specification of other objects using the extraDeploy
parameter.
Find more information about how to deal with common errors related to Bitnami's Helm charts in this troubleshooting guide.
This version updates MinIO® to major version 2023. All gateway features have been removed from Minio since upstream completely dropped this feature. The related options have been removed in version 12.1.0.
This version deprecates the usage of MINIO_ACCESS_KEY
and MINIO_SECRET_KEY
environment variables in MINIO® container in favor of MINIO_ROOT_USER
and MINIO_ROOT_PASSWORD
.
If you were already using the new variables, no issues are expected during upgrade.
This version updates MinIO® authentication parameters so they're aligned with the current terminology. As a result the following parameters have been affected:
accessKey.password
has been renamed to auth.rootUser
.secretKey.password
has been renamed to auth.rootPassword
.accessKey.forcePassword
and secretKey.forcePassword
have been unified into auth.forcePassword
.existingSecret
, useCredentialsFile
and forceNewKeys
have been renamed to auth.existingSecret
, auth.useCredentialsFiles
and forceNewKeys
, respectively.This version updates MinIO® after some major changes, affecting its Web UI. MinIO® has replaced its MinIO® Browser with the MinIO® Console, and Web UI has been moved to a separated port. As a result the following variables have been affected:
service.port
has been slit into service.ports.api
(default: 9000) and service.ports.console
(default: 9001).containerPort
has been slit into containerPorts.api
(default: 9000) and containerPort.console
(default: 9001).service.nodePort
has been slit into service.nodePorts.api
and service.nodePorts.console
.minio
has been replaced with minio-api
and minio-console
with target ports minio-api and minio-console respectively.minio-console
instead of minio
.Please note that Web UI, previously running on port 9000 will now use port 9001 leaving port 9000 for the MinIO® Server API.
This version introduces pod and container securityContext support. The previous configuration of securityContext
has moved to podSecurityContext
and containerSecurityContext
. Apart from this case, no issues are expected to appear when upgrading.
This version standardizes the way of defining Ingress rules. When configuring a single hostname for the Ingress rule, set the ingress.hostname
value. When defining more than one, set the ingress.extraHosts
array. Apart from this case, no issues are expected to appear when upgrading.
This version introduces bitnami/common
, a library chart as a dependency. More documentation about this new utility could be found here. Please, make sure that you have updated the chart dependencies before executing any upgrade.
On November 13, 2020, Helm v2 support was formally finished, this major version is the result of the required changes applied to the Helm Chart to be able to incorporate the different features added in Helm v3 and to be consistent with the Helm project itself regarding the Helm v2 EOL.
apiVersion: v1
(installable by both Helm 2 and 3), this Helm Chart was updated to apiVersion: v2
(installable by Helm 3 only). Here you can find more information about the apiVersion
field.Copyright © 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.