📜  helm release minio - Shell-Bash (1)

📅  最后修改于: 2023-12-03 15:01:07.813000             🧑  作者: Mango

Helm Release Minio

Helm is a package manager for deploying applications on Kubernetes. Minio is a high-performance, distributed object storage system for cloud and container environments. By running Minio in Kubernetes, you can provide a scalable and resilient storage solution for your applications.

To deploy Minio using Helm, run the following command in your terminal:

helm repo add minio https://helm.min.io/
helm install minio minio/minio --set accessKey=minio,secretKey=minio123,persistence.enabled=false

The first command adds the Minio Helm chart repository to your list of charts. The second command installs the Minio chart with a few configuration options.

By default, Minio will use Kubernetes Persistent Volumes for storage. However, in this example, we have disabled persistence by setting persistence.enabled to false. This means data is only stored in the container's filesystem and will be lost if the pod is terminated.

You can customize other aspects of the Minio installation by setting values in the values.yaml file or by using the --set flag when running the helm install command. For example, you can change the Minio image version, set resource limits, or enable SSL/TLS.

helm install minio minio/minio --set imageTag=latest \
  --set resources.requests.memory=512Mi \
  --set ssl.enabled=true \
  --set ssl.insecureSkipVerify=true

In the example above, we are overriding the default image tag with the latest version, setting a memory request of 512Mi, enabling SSL/TLS, and skipping certificate validation. These changes can be made programmatically or manually by updating the values.yaml file.

Helm makes it easy to version and manage your application deployments, allowing you to upgrade or rollback with ease. By using Helm charts, you can abstract away the complexity of Kubernetes YAML and manage your applications using a higher level of abstraction.

Deploying Minio using Helm is a great way to provide a scalable and resilient storage solution for your Kubernetes applications.