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.
You can deploy the MinIO Kubernetes Operator through the Red Hat® OpenShift® Container Platform 4.7+. You can deploy and manage MinIO Tenants through OpenShift after deploying the MinIO Operator. This procedure includes instructions for the following deployment paths:
Purchase and Deploy MinIO through the RedHat Marketplace.
Deploy MinIO through the OpenShift OperatorHub
After deploying the MinIO Operator into your OpenShift cluster, you can create and manage MinIO Tenants through the OperatorHub user interface.
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.
The MinIO Kubernetes Operator is available starting with OpenShift 4.7+.
For installing through the Red Hat Marketplace,the OpenShift cluster must be registered for the Marketplace with the necessary namespaces. See Register OpenShift cluster with Red Hat Marketplace for complete instructions.
For older versions of OpenShift, use the generic Deploy MinIO Operator on Kubernetes procedure.
Installation of operators through the Red Hat Marketplace and the Operator Hub
is restricted to OpenShift cluster administrators (cluster-admin
privileges). This procedure requires logging into the Marketplace and/or
OpenShift with an account that has those privileges.
oc CLIDownload and Install
the OpenShift CLI oc for use in this
procedure.
Select the tab that corresponds to your preferred installation method:
Open the MinIO Red Hat Marketplace listing in your browser. Click Login to log in with your Red Hat Marketplace account.
After logging in, click Purchase to purchase the MinIO Operator for your account.
After completing the purchase, click Workplace from the top navigation and select My Software.
Click MinIO Hybrid Cloud Object Storage and select Install Operator to start the Operator Installation procedure in OpenShift.
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.
Select the MinIO Operator tile, then click Install to begin the installation.
The Install Operator page provides a walkthrough for configuring the MinIO Operator installation.
For Update channel, select any of the available options.
For Installation Mode, select All namespaces on the cluster
For Installed Namespace, select openshift-operators
For Approval Strategy, select the approval strategy of your choice.
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.
Once installation completes, click View Operator to view the MinIO Operator page.
You can find the MinIO Operator Interface from the Operators left-hand navigation header.
Go to Operators, then Installed Operators.
For the Project dropdown, select openshift-operators.
Select MinIO Operators from the list of installed operators. The Status column must read Success to access the Operator interface.
After deploying the MinIO Operator, you can create a new MinIO Tenant.
To deploy a MinIO Tenant using OpenShift, see Deploy a MinIO Tenant on RedHat OpenShift.
You can also deploy a Tenant using the MinIO Operator Console. See
Deploy a MinIO Tenant. Substitute oc for kubectl throughout that
procedure.
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 4.4.16
of the MinIO Kubernetes Plugin and installs it to the system $PATH:
wget https://github.com/minio/operator/releases/download/v4.4.16/kubectl-minio_4.4.16_linux_amd64 -O kubectl-minio
chmod +x kubectl-minio
mv kubectl-minio /usr/local/bin/
You can access the plugin using the kubectl minio command. Run
the following command to verify installation of the plugin:
kubectl minio version