<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Faraz Peerbaksh on Medium]]></title>
        <description><![CDATA[Stories by Faraz Peerbaksh on Medium]]></description>
        <link>https://medium.com/@fazpeerbaksh?source=rss-b1f84d219e65------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Faraz Peerbaksh on Medium</title>
            <link>https://medium.com/@fazpeerbaksh?source=rss-b1f84d219e65------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 05:40:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fazpeerbaksh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to setup Distributed MinIO Cluster on Kubernetes]]></title>
            <link>https://fazpeerbaksh.medium.com/how-to-setup-distributed-minio-cluster-on-kubernetes-5227202a0048?source=rss-b1f84d219e65------2</link>
            <guid isPermaLink="false">https://medium.com/p/5227202a0048</guid>
            <category><![CDATA[minio]]></category>
            <category><![CDATA[gcp]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[aws-eks]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Faraz Peerbaksh]]></dc:creator>
            <pubDate>Tue, 22 Dec 2020 17:07:37 GMT</pubDate>
            <atom:updated>2020-12-22T17:15:01.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*ildrMwNFduDRYYt32lxQvg.png" /></figure><p><a href="https://min.io/">MinIO</a> is a High Performance Object Storage released under Apache License v2.0. It is API compatible with Amazon S3 cloud storage service. Designed to be <strong>Kubernetes Native</strong>.</p><p>MinIO runs on bare metal, network attached storage and every public cloud.</p><h3>Distributed <strong>MinIO Kubernetes Architecture</strong></h3><p>Distributed MinIO provides protection against multiple node/drive failures and <a href="https://github.com/minio/minio/blob/master/docs/erasure/README.md#what-is-bit-rot-protection">bit rot</a> using <a href="https://docs.min.io/docs/minio-erasure-code-quickstart-guide">erasure code</a>. As the minimum disks required for distributed MinIO is 4 (same as minimum disks required for erasure coding), erasure code automatically kicks in as you launch distributed MinIO. With the highest level of redundancy, you may <strong>lose up to half (N/2) of the total drives</strong> and still be able to recover the data.</p><p>A distributed MinIO setup with <em>m</em> servers and <em>n</em> disks will have your data safe as long as <em>m/2</em> servers or <em>m*n</em>/2 or more disks are online.</p><p><strong>Note: MinIO creates erasure-coding sets of 4 to 16 drives per set. The number of drives you provide in total must be a multiple of one of those numbers.</strong></p><figure><img alt="MinIO Distributed Kubernetes Architecture" src="https://cdn-images-1.medium.com/max/1024/1*Sqw_FQ_XCVXtR_m_PAP8nQ.png" /><figcaption>MinIO Kubernetes Architecture Diagram</figcaption></figure><p>The architecture of MinIO in Distributed Mode on Kubernetes consists of the <a href="https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/">StatefulSet</a> deployment kind. The following lists the service types and persistent volumes used.</p><h4>MinIO Services</h4><p>Services are used to expose the app to other apps or users within the cluster or outside.</p><p>1. <a href="https://kubernetes.io/docs/concepts/services-networking/service/#headless-services">HeadLess</a> Service for MinIO StatefulSet</p><p>2. <a href="https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer">LoadBalancer</a> for exposing MinIO to external world.</p><h4>Persistent Volumes</h4><p>1. <a href="https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/">Dynamic</a></p><h3><strong>Deployment:</strong></h3><p>MinIO is Kubernetes native and containerized. This makes it very easy to deploy and test. Furthermore, it can be setup without much admin work.</p><p><strong>The following steps direct how to setup a distributed MinIO environment on Kubernetes on AWS EKS but it can be replicated for other public clouds like GKE, Azure, etc.</strong></p><p>The deployment comprises <strong>4 servers of MinIO with 10Gi of ssd</strong> dynamically attached to each server.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d04d4b8465e7ed92e19b2fadaae60e3/href">https://medium.com/media/4d04d4b8465e7ed92e19b2fadaae60e3/href</a></iframe><p>Prerequisites:</p><ul><li>Kubernetes 1.5+ with Beta APIs enabled to run MinIO in <a href="https://github.com/minio/charts#distributed-minio">distributed mode</a>.</li><li>LoadBalancer support</li><li>PV provisioner support in the underlying infrastructure.</li></ul><p>Deployment steps:</p><p>1. Copy the K8s manifest/deployment yaml file (minio_dynamic_pv.yml) to Bastion Host on AWS or from where you can execute kubectl commands.</p><p>2. <strong>kubectl apply -f minio-distributed.yml</strong></p><p>3. <strong>kubectl get po (</strong>List running pods and check if minio-x are visible)</p><p>4. <strong>kubectl get svc</strong></p><p>List the services running and extract the Load Balancer endpoint.</p><figure><img alt="run the kubectl commands to deploy the MinIO cluster on kubernetes" src="https://cdn-images-1.medium.com/max/1024/1*RFVWKihs9lBm7ChDTdmQ0g.png" /><figcaption>Deploy with kubectl</figcaption></figure><p>5. Paste this URL in browser and access the MinIO login.</p><blockquote>accessKey : minio</blockquote><blockquote>secretKey: minio123</blockquote><figure><img alt="MinIO Login page" src="https://cdn-images-1.medium.com/max/1024/1*SdGy4C047m460mIDTDdMdA.png" /><figcaption>MinIO Login</figcaption></figure><p>6. In the dashboard create a bucket clicking “+”</p><p>7. Upload an object in that bucket.</p><p>8. Verify the uploaded files show in the dashboard</p><figure><img alt="MinIO Dashboard" src="https://cdn-images-1.medium.com/max/1024/1*AfulLXzfJ0kFbyINGi87Yg.png" /><figcaption>MinIO Dashboard</figcaption></figure><h3><strong>Enjoy your Distributed MinIO Cluster with High Availability and Fault Tolerance !!</strong></h3><p>Source Code: <a href="https://github.com/fazpeerbaksh/minio">fazpeerbaksh/minio: MinIO setup on Kubernetes (github.com)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5227202a0048" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>