Enabling MinIO Supervisor Service in a vSphere with Tanzu Supervisor Cluster

In this blog post, I will help you with the set of steps needed to enable MinIO service on a “vSphere with Tanzu” Supervisor cluster. I will not explain about MinIO, feel free to read about MinIO on https://min.io/

Let’s get straight to the point now.

Steps to enable MinIO Supervisor Service

– Login to the vCenter  

– Select the vSphere Cluster from Host and Cluster view

– Click on Configure tab -> Supervisor Service -> Services option

– You will see the available services, in my case none of them are enabled as of now.

– Select the MinIO service and click on Enable option

You will see the following popup, fill the required information. If you leave the repository endpoint blank, images will be pulled from the dockerhub repository. 

– Click on Next 

– Accept the EULA, Click on Finish

After a few mins, you will see the vSphere pods are created and MinIO service is enabled.

– Validate the deployment using kubectl command as well. Notice the pod status, all are in Running state.

$ k get po -n minio-domain-c175172
NAME                                        READY   STATUS    RESTARTS   AGE
masterproxy-minio-7x5cs                     1/1     Running   0          27s
masterproxy-minio-jnbnx                     1/1     Running   0          27s
masterproxy-minio-zbt8z                     1/1     Running   0          27s
minio-minio-operator-5554454dbc-wprc5       1/1     Running   0          32s
minio-vsphere-945f8f597-6kx7w               2/2     Running   0          32s
minio-vsphere-945f8f597-925rm               2/2     Running   0          32s
minio-vsphere-945f8f597-nd2lh               2/2     Running   0          32s
minio-vsphere-controller-777759f9f4-wrck4   1/1     Running   0          32s

Notice the MinIO service is now showing Enabled now.

Once it is enabled, you will see new options under MinIO. To view the options:

– Select a vSphere cluster -> Click on Configure 

– Click on General and you will see some basic info about MinIO

After the MinIO supervisor service is enabled, we need to create atleast one tenant before MinIO can be used.

Creating a Tenant

– Click on Tenants option under MinIO

– Fill the required information. Note that the namespace should be created before and you need to type in here. According to the namespace selection, associated storage classes will be displayed. This namespace need not be the same as the one created by MinIO while enabling it.

Note: In this post, I will not go for Advanced Mode. Advanced Mode option provides few additional features.

– Review the information and click on Next

– Click on the Create

You will see a message that the tenant is created successfully. Also copy the access keys for later use as it won’t be displayed again.

MinIO's Access Key: MZTF32ALZGLZ0ZNX
MinIO's Secret Key: PT2BOZQKSJMS0QFFAGYIVRGBSLNP15FK
Console's Access Key: QKK5HPET1RLJGELA
Console's Secret Key: VGTJ0ALTBX4J0Z5RZP2SC3NOGUIDNO4X

As you notice in the below screenshot, tenants take a few mins to be fully available. So wait for some time.

You will notice that the additional vSphere pods are created. 

In few mins, you will see the console pod as below.

Note: Wait for a few mins as tenant-console pod take few mins before it is fully running.

Validating the Tenant

– See more detail about the newly created tenant. Select the tenant name and click on Details option

– View the health of the tenant by clicking on the Health button.

Now, let’s validate both consoles (MinIO endpoint and Console endpoint).

Validating MinIO endpoint UI

– Click on the MinIO endpoint url show in the above screenshot

– Enter the Access Key and Secret Key as noted earlier. You should be able to login and see the below UI.

Validating Console endpoint UI

– Click on the console endpoint url show in the above screenshot

– Enter the Access Key and Secret Key as noted earlier. 

– Click on the Login button

You should be able to see the MinIO console. Explore the different options.

In order to take a backup, we need to have atleast one bucket. Let’s create a bucket.

Creating a Bucket

– Click on the + option

– Select the Bucket button

– Enter the bucket name and hit enter

– You will notice that the bucket is created successfully.

– You can also validate the newly created bucket from Console endpoint GUI too.

That’s all in this post, in the upcoming post, I will talk about enabling Velero supervisor service and integrating Velero with MinIO to take application backup. Keep watching for the next one.

Advertisement

One thought on “Enabling MinIO Supervisor Service in a vSphere with Tanzu Supervisor Cluster

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s