{"id":35068785,"url":"https://github.com/beclab/minio-operator","last_synced_at":"2026-05-21T00:02:29.071Z","repository":{"id":236757847,"uuid":"793088149","full_name":"beclab/minio-operator","owner":"beclab","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-28T12:23:49.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-28T13:31:37.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beclab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-28T11:47:43.000Z","updated_at":"2024-04-28T13:31:39.043Z","dependencies_parsed_at":"2024-04-28T13:41:50.475Z","dependency_job_id":null,"html_url":"https://github.com/beclab/minio-operator","commit_stats":null,"previous_names":["beclab/minio-operator"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/beclab/minio-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beclab%2Fminio-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beclab%2Fminio-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beclab%2Fminio-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beclab%2Fminio-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beclab","download_url":"https://codeload.github.com/beclab/minio-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beclab%2Fminio-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33281309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T15:12:43.734Z","status":"ssl_error","status_checked_at":"2026-05-20T15:12:42.300Z","response_time":356,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-27T11:41:18.146Z","updated_at":"2026-05-21T00:02:29.065Z","avatar_url":"https://github.com/beclab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minio-operator\n[![](https://github.com/beclab/minio-operator/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/beclab/minio-operator/actions/workflows/build.yaml)\n\n## Description\nMinIO Operator provides a command line tool for the MinIO cluster maintenance. The Operator offers the `init`, `add node`, `add driver` commands to create a cluster and scale it to fulfill the different scenarios.\n\n## How to use\n1. Install ETCD as the operator metadata storage\n   [Install ETCD](https://etcd.io/docs/v3.5/install/)\n\n2. Install MinIO\n```sh\n\nMINIO_VERSION=\u003cversion to install\u003e\ncurl -kLo minio https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION}\nsudo install -m 755 minio /usr/local/bin/minio\n\n```\n\n3. Install MinIO Operator\n```sh\n\nMINIO_OPERATOR_VERSION=\"v0.0.1\"\ncurl -k -sfLO https://github.com/Above-Os/minio-operator/releases/download/${MINIO_OPERATOR_VERSION}/minio-operator-${MINIO_OPERATOR_VERSION}-linux-amd64.tar.gz\ntar zxf minio-operator-${MINIO_OPERATOR_VERSION}-linux-amd64.tar.gz\nsudo install -m 755 minio-operator /usr/local/bin/operator\n\n```\n\n4. Init cluster\n```sh\n\nlocal_ip=\u003cYOUR MACHINE IP\u003e\nMINIO_VOLUMES=\"/path/to/minio/driver{1...4}\"\n\nsudo groupadd -r minio\nsudo useradd -M -r -g minio minio\nsudo chown minio:minio /path/to/minio/driver{1..4}\n\nsudo minio-operator init --address $local_ip \\\n   --cafile /etc/ssl/etcd/ssl/ca.pem \\\n   --certfile /etc/ssl/etcd/ssl/node-$HOSTNAME.pem \\\n   --keyfile /etc/ssl/etcd/ssl/node-$HOSTNAME-key.pem \\\n   --volume $MINIO_VOLUMES\n\n```\nAccording to MinIO [official document](https://min.io/docs/minio/linux/operations/install-deploy-manage/deploy-minio-single-node-multi-drive.html#minio-snmd), MinIO strongly recommends provisioning XFS formatted drives for storage. And every single volume path should be mounted on a separate driver.\n\n5. After cluster init, a SNMD mode MinIO cluster will be running at the current machine\n\n### Add Driver\n\n```sh\nVOLUMES=\"/path/to/minio/driver{5...6}\"\n\nsudo chown minio:minio /path/to/minio/driver{5..6}\n\nsudo minio-operator add driver --cafile /etc/ssl/etcd/ssl/ca.pem \\\n   --certfile /etc/ssl/etcd/ssl/node-$HOSTNAME.pem \\\n   --keyfile /etc/ssl/etcd/ssl/node-$HOSTNAME-key.pem \\\n   --volume $VOLUMES\n\n```\n\n### Add Node\n```sh\n\nVOLUMES=\"/path/to/minio/driver{1...4}\"\nlocal_ip=\u003cYOUR MACHINE IP\u003e\nMASTER_NODE=\u003cMASTER NODE IP\u003e\nETCD_SERVER=\"${MASTER_NODE}:2379\"\nMASTER_NODE_HOSTNAME=\u003cMASTER NODE HOSTNAME\u003e\n\nsudo chown minio:minio /path/to/minio/driver{1..4}\n\nsudo minio-operator add node --server ${ETCD_SERVER} \\\n   --address $local_ip \\\n   --cafile /etc/ssl/etcd/ssl/ca.pem \\\n   --certfile /etc/ssl/etcd/ssl/node-$MASTER_NODE_HOSTNAME.pem \\\n   --keyfile /etc/ssl/etcd/ssl/node-$MASTER_NODE_HOSTNAME-key.pem \\\n   --volume $VOLUMES\n\n```\n\n## How to build\n\n```sh\nmake build\n```\n\nor \n\n```sh\nmake build-linux\n```\nfor Linux version\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeclab%2Fminio-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeclab%2Fminio-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeclab%2Fminio-operator/lists"}