Welcome to the upcoming version of the MinIO Documentation! The content of these pages may change at any time. If you can't find what you're looking for, check our legacy documentation. Thank you for your patience.

Deploy MinIO Operator on RedHat OpenShift

Table of Contents

Overview

The MinIO Kubernetes Operator is available in Red Hat® OpenShift® Container Platform 4.7+ through the OperatorHub.

Red Hat® OpenShift® is an enterprise-ready Kubernetes container platform with full-stack automated operations to manage hybrid cloud, multi-cloud, and edge deployments. OpenShift includes an enterprise-grade Linux operating system, container runtime, networking, monitoring, registry, and authentication and authorization solutions.

This documentation assumes familiarity with all referenced Kubernetes and OpenShift concepts, utilities, and procedures. While this documentation may provide guidance for configuring or deploying Kubernetes-related or OpenShift-related resources on a best-effort basis, it is not a replacement for the official Kubernetes Documentation and OpenShift Container Platform 4.7+ Documentation.

Prerequisites

RedHat OpenShift 4.7+

The MinIO Kubernetes Operator is available through OperatorHub on OpenShift 4.7+.

For older versions of OpenShift, use the generic Deploy MinIO Operator on Kubernetes procedure.

Administrator Access

Installation of operators through OperatorHub is restricted to OpenShift cluster administrators (cluster-admin privileges).

OpenShift oc CLI

Download and Install the OpenShift CLI oc for use in this procedure.

Procedure

1) Select the MinIO Operator in OperatorHub

Log into the OpenShift Web Console as a user with cluster-admin privileges.

From the Administrator panel, select Operators, then OperatorHub.

From the OperatorHub page, type “MinIO” into the Filter text entry. Select the MinIO Operator tile from the search list.

From the OperatorHub, search for MinIO, then select the MinIO Tile.

2) Install the MinIO Operator

Selecting the MinIO Operator tile opens a panel for installing the Operator. Click Install to start the configuration walkthrough.

Click the MinIO tile to open the description panel, then click Install.

The Install Operator page provides a walkthrough for configuring the MinIO Operator installation.

Complete the Operator Installation Walkthrough

See the Operator Installation Documentation Step 5 for complete descriptions of each displayed option.

Click Install to start the installation procedure. The web console displays a widget for tracking the installation progress.

Wait for Installation to Complete.

Once installation completes, click View Operator to view the MinIO Operator page.

3) Next Steps

You can create a MinIO Tenant using any of the following methods:

Deploy via Command Line

Using the oc commandline tool, use the oc minio tenant create command to create a new tenant. Use the Deploy a MinIO Tenant using the MinIO Plugin procedure for guidance, substituting kubectl minio with oc minio.

If the local host does not have the MinIO Kubernetes Plugin installed, download the latest kubectl-minio release for your system architecture. Set the file permissions to allow executing the binary and move it to your system $PATH.

The following code downloads the latest stable version v4.1.1 for ARM64 Linux distributions, sets the binary to executable, and copies it to the system $PATH:

wget https://github.com/minio/operator/releases/download/v4.1.1/kubectl-minio_4.1.1_linux_amd64
chmod ~x kubectl-minio
mv kubectl-minio /usr/local/bin/

Replace the wget URL with the appropriate executable from the latest stable release.

Deploy via OperatorHub

Using the MinIO Operator page in the Web Console. From Operators, select Installed Operators, then MinIO Operator.

Click the Create instance on the Tenant card to create a new MinIO Tenant.