on premise storage for kubernetes ?
What is MINIO ?
MinIO offers high-performance, S3 compatible object storage. Native to Kubernetes, MinIO is the only object storage suite available on every public cloud, every Kubernetes distribution, the private cloud and the edge. MinIO is software-defined and is 100% open source under GNU AGPL v
You can refer below documents to learn more about MinIO.
Let's do it hands on
1. Install minio client
wget https://github.com/minio/operator/releases/download/v4.4.16/kubectl-minio_4.4.16_linux_amd64 -O kubectl-mini
chmod +x kubectl-minio
mv kubectl-minio /usr/local/bin/o
2. Generate the minio operator CRDs manifest for deploy operator
3. Deploy the minio operator
4. Check the resources
5. For access to minio console use the proxy command
6. Copy the JWT and use it as the login credentials -> https://localhost:9090
7. Create a Tenant
Before create above Tenant you should deploy a local-path storage provisioner.
In here I am going to use Rancher local-path provisioner.
Please follow the below instruction to deploy Rancher local-path-storage provisioner https://github.com/rancher/local-path-provisioner
8. Deploy local-path storage provisioner.
领英推荐
9. Before create the Tenant, Check the PV & PVC and you can see nothing.
10. Now you can create a Tenant via the console
What is Erasure Code? https://docs.min.io/docs/minio-erasure-code-quickstart-guide.html
Erasure Code Calculator ? https://min.io/product/erasure-code-calculator
11. As the AWS credentials, You can download the access & secret key.
12. Now check the PV & PVC
13. Go to the each node and check inside the directories which you have configured on local-path-provisioner
14. Check the Tenant health from the console
15. Now you can create a bucket like AWS S3
16. After that you can configure the AWS credentials
List all bucket in your Tenant
17. Now you can copy the files as you wish
18. You can check the inside on PVC provisioned by local-path provisioner on each nodes and the console
We are done it.......