Coder Social home page Coder Social logo

minio-operator's Introduction

Minio Operator Guide

Slack Docker Pulls

Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure. Minio is designed in a cloud-native manner to scale sustainably in multi-tenant environments. Orchestration platforms like Kubernetes provide perfect launchpad for Minio to scale. There are multiple options to deploy Minio on Kubernetes:

  • Helm Chart: Minio Helm Chart offers customizable and easy Minio deployment with a single command. Refer Minio Helm Chart repository documentation for more details.

  • YAML File: Minio can be deployed with yaml files via kubectl. Refer Minio yaml file documentation to deploy Minio using yaml files.

  • Minio-Operator: Operator creates and manages distributed Minio deployments running on Kubernetes, using CustomResourceDefinitions and Controller.

Getting Started

Prerequisites

  • Kubernetes cluster 1.8.0+.
  • kubectl configured to refer to relevant Kubernetes cluster.

Create Operator and related resources

To start Minio-Operator, use the docs/minio-operator.yaml file.

kubectl create -f https://github.com/minio/minio-operator/blob/master/docs/minio-operator.yaml?raw=true

This will create all relevant resources required for the Operator to work. Here is a list of resources created by above yaml file:

  • Namespace: Custom namespace for Minio-Operator. By default it is names as minio-operator-ns.
  • CustomResourceDefinition: Custom resource definition named as minioinstances.miniocontroller.minio.io.
  • ClusterRole: A cluster wide role for the controller. It is named as minio-operator-role. This is used for RBAC.
  • ServiceAccount: Service account is used by the custom controller to access the cluster. Account name by default is minio-operator-sa.
  • ClusterRoleBinding: This cluster wide binding binds the service account minio-operator-sa to cluster role minio-operator-role.
  • Deployment: Deployment creates a pod using the Minio-Operator Docker image. This is where the custom controller runs and looks after any changes in custom resource.

Create a Minio instance

Once Minio-Operator deployment is running, you can create Minio instances using the below command

kubectl create -f https://github.com/minio/minio-operator/blob/master/docs/minio-examples/minio-secret.yaml?raw=true
kubectl create -f https://github.com/minio/minio-operator/blob/master/docs/minio-examples/minioinstance.yaml?raw=true

Features

Minio-Operator currently supports following features:

  • Create and delete highly available distributed Minio clusters.
  • Upgrading existing distributed Minio clusters.

Refer minioinstance.yaml for details on how to pass supported fields to the operator.

Upcoming features

With next release, we'll add Minio cluster mirror option based on mc mirror command.

Explore Further

minio-operator's People

Contributors

chesterli29 avatar deekoder avatar harshavardhana avatar nitisht avatar varesa avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.