{"id":13581260,"url":"https://github.com/thenatureofsoftware/volumizr","last_synced_at":"2025-04-06T07:31:52.471Z","repository":{"id":73738478,"uuid":"83240746","full_name":"thenatureofsoftware/volumizr","owner":"thenatureofsoftware","description":"Simple kubernetes storage solution using Minio","archived":false,"fork":false,"pushed_at":"2017-03-24T02:43:25.000Z","size":78,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-05T20:47:04.282Z","etag":null,"topics":["arm","arm64","docker-image","kubernetes","minio"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thenatureofsoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-26T21:07:11.000Z","updated_at":"2023-03-17T14:38:36.000Z","dependencies_parsed_at":"2023-04-01T10:34:28.197Z","dependency_job_id":null,"html_url":"https://github.com/thenatureofsoftware/volumizr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenatureofsoftware%2Fvolumizr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenatureofsoftware%2Fvolumizr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenatureofsoftware%2Fvolumizr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenatureofsoftware%2Fvolumizr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenatureofsoftware","download_url":"https://codeload.github.com/thenatureofsoftware/volumizr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450082,"owners_count":20940853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arm","arm64","docker-image","kubernetes","minio"],"created_at":"2024-08-01T15:01:59.741Z","updated_at":"2025-04-06T07:31:52.094Z","avatar_url":"https://github.com/thenatureofsoftware.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# volumizr\n\n[![Build Status](https://travis-ci.org/TheNatureOfSoftware/volumizr.svg?branch=master)](https://travis-ci.org/TheNatureOfSoftware/volumizr)\n\nThis is a simple (simplistic or poor but not necessarily bad) solution for solving storage in a Kubernetes cluster. The solution uses `emptyDir` volumes in `StatefulSet` and `init-containers` for setting up volumes before start by mirroring from a [Minio](https://minio.io) server, and after start continuously mirrors changes back.\n\n![Minio storage for your Kubernets cluster](minio-k8s-storage.png)\n\n## Usage\n\n### Mirror in\n\nDocker:\n```\n$ docker run --rm -it -v $PWD/config.json:/app/config/config.json -v $PWD/mydata:/app/target thenatureofsoftware/volumizr in minio/bucket1 /app/target\n```\n\nInit container in Kubernetes:\n```\nannotations:\n  pod.beta.kubernetes.io/init-containers:\n    '[{\n    \"name\": \"volumizr-in\",\n    \"image\": \"thenatureofsoftware/volumizr:latest\",\n    \"args\": [\"in\", \"minio/mysql\", \"/var/lib/mysql\"],\n    \"volumeMounts\": [{\n      \"mountPath\": \"/var/lib/mysql\",\n      \"name\": \"persistentdata\"\n    }]\n  }]\n```\n\n### Mirror out\n\nFor continuously mirror changes back to minio server.\n\nDocker:\n```\n$ docker run --rm -it -v $PWD/config.json:/app/config/config.json -v $PWD/mydata:/app/source thenatureofsoftware/volumizr out /app/source minio/bucket1\n```\n\nAs a sidecar container in Kubernetes:\n```\n...\n- image: thenatureofsoftware/volumizr:latest\n  imagePullPolicy: Always\n  name: volumizr-out\n  args:\n  - out\n  - /var/lib/mysql\n  - minio/mysql\n  volumeMounts:\n  - mountPath: \"/var/lib/mysql\"\n    name: persistentdata\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenatureofsoftware%2Fvolumizr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenatureofsoftware%2Fvolumizr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenatureofsoftware%2Fvolumizr/lists"}