MinIO Operator
The MinIO Operator provides easy to run MinIO Tenant on Kubernetes. We have provided cluster-wide MinIO Operator for easy deployment of MinIO S3 object storage servers. The MinIO Operator defines a kind of Tenant
that ensures the existence of a object storage. Full documentation about its structure is available here. The official manual for creating an example MinIO tenant can be found here. For your convenience, we provide some working examples below, divided into sections.
Deploying a single instance
You can start with an example instance, which is suitable for testing. This example creates a resource Tenant defined by the installed Minio operator. You can download the example here.
This example also requires to deploy secret for the user. You can download the secret example.
To specify and encode/decode own access_key
(username) and secret_key
(password), you can use the following commands:
Run kubectl create -n [namespace] -f example-tenant-secret.yaml -f example-tenant.yaml
, you should see pod named myminio-pool-0-0
(possibly similar pods depending on the configuration) running in the specified namespace.
S3 Storage Access
To access the storage from other Pods, you can use myminio-console
and myminio-hl
services that are automatically created. These services work like DNS names, so you can use them as endpoints for another applications within the Kubernetes cluster. If exposure to another namespace is required, use the full name - e.g. myminio-hl.[namespace].svc.cluster.local
.
myminio-console:9443
provides a HTTP web-based console for managing the MinIOmyminio-hl:9000
provides the S3 server connection
Network Policy
To increase security, a network policy can be used to allow network access to the S3 storage only from certain pods. See Network Policy for more information. External access, i.e. access from the public Internet, is disabled by default. However, it is possible to expose the S3 via Load Balancer.
This is an example of a NetworkPolicy applied to the Minio tenant. You can download this example here
This is an example of a NetworkPolicy applied to a hypothetical application. You can download this example here
Last updated on