Deploy a Silo Tenant
This procedure deploys a Silo server image as a Tenant managed by MinIO Operator v7.1.1. The upstream Operator repository was archived and made read-only on 2026-03-20, so this is a frozen compatibility baseline rather than an actively maintained Operator path. MinIO Operator, Tenant, the minio.min.io API group, and the CRD field names are upstream Kubernetes contracts and therefore retain their original names.
The verified baseline below creates a four-server Tenant. A single-node topology is useful for local testing, but its production failure model and storage layout are outside the scope of this procedure.
This documentation assumes familiarity with all referenced Kubernetes concepts, utilities, and procedures. While this documentation may provide guidance for configuring or deploying Kubernetes-related resources on a best-effort basis, it is not a replacement for the official Kubernetes Documentation.
Deploy a Silo Tenant using Kustomize
The following procedure uses the base Kustomization template from the MinIO Operator v7.1.1 repository, then replaces its upstream MinIO image default with a pinned Silo image.
You can select a different v7.1.1 example as your starting point, or build your own resources using the MinIO Custom Resource Documentation. No later supported upstream release exists; review any fork, replacement, or CRD change independently before departing from this pinned snapshot.
Important
If you use Kustomize to deploy a MinIO Tenant, you must use Kustomize to manage or upgrade that deployment. Do not use kubectl krew, a Helm Chart, or similar methods to manage or upgrade the MinIO Tenant.
This procedure is not exhaustive of all possible configuration options available in the Tenant CRD. It provides a baseline from which you can modify and tailor the Tenant to your requirements.
-
Create a YAML object for the Tenant
Clone the pinned Operator release and use
kubectl kustomizeto produce a YAML file containing all Kubernetes resources necessary to deploy thebaseTenant:BASHThe command creates a single YAML file with multiple objects separated by the
---line. Open the file in your preferred editor.The upstream template defaults to
quay.io/minio/minio. Before applying it, set thekind: Tenantobject’sspec.imageto the verified Silo release and disable the inherited in-place updater:YAMLPin the image by tag or digest. If you choose a newer Silo image, review and test that release explicitly instead of inheriting the Operator template’s upstream image.
The following steps reference each object based on its
kindandmetadata.namefields: -
Configure the Tenant topology
The
kind: Tenantobject describes the Silo workload managed by MinIO Operator.The following fields share the
spec.pools[0]prefix and control the number of servers, volumes per server, and storage class of all pods deployed in the Tenant:Field
Description
serversThe number of Silo pods to deploy in the Server Pool.
volumesPerServerThe number of persistent volumes to attach to each Silo pod (
servers). The Operator generatesvolumesPerServer x serversPersistent Volume Claims for the Tenant.volumeClaimTemplate.spec.storageClassNameThe Kubernetes storage class to associate with the generated Persistent Volume Claims.
If no storage class exists matching the specified value or if the specified storage class cannot meet the requested number of PVCs or storage capacity, the Tenant may fail to start.
volumeClaimTemplate.spec.resources.requests.storageThe amount of storage to request for each generated PVC.
-
Configure Tenant Affinity or Anti-Affinity
The MinIO Operator supports the following Kubernetes Affinity and Anti-Affinity configurations:
- Node Affinity (
spec.pools[n].nodeAffinity) - Pod Affinity (
spec.pools[n].podAffinity) - Pod Anti-Affinity (
spec.pools[n].podAntiAffinity)
For production, configure Pod Anti-Affinity so that the Kubernetes scheduler does not place multiple Tenant pods on the same worker node.
If you have specific worker nodes on which you want to deploy the tenant, pass those node labels or filters to the
nodeAffinityfield to constrain the scheduler to place pods on those nodes. - Node Affinity (
-
Configure Network Encryption
The MinIO Tenant CRD provides the following fields for configuring Tenant TLS network encryption:
Field
Description
spec.requestAutoCertEnable or disable Silo automatic TLS certificate generation.
Defaults to
trueif omitted.spec.certConfigCustomize the behavior of automatic TLS, if enabled.
spec.externalCertSecretEnable TLS for multiple hostnames via Server Name Indication (SNI)
Specify one or more Kubernetes secrets of type
kubernetes.io/tlsorcert-manager.spec.externalCaCertSecretEnable validation of client TLS certificates signed by unknown, third-party, or internal Certificate Authorities (CA).
Specify one or more Kubernetes secrets of type
kubernetes.io/tlscontaining the full chain of CA certificates for a given authority. -
Configure Silo Environment Variables
Silo preserves the upstream
MINIO_*environment-variable contract. You can supply these variables using the Secret referenced by the Tenant CRD’sspec.configurationfield, or usespec.envfor individual values such asMINIO_UPDATE.Field
Description
spec.configuration.nameSpecify a Kubernetes opaque Secret whose
config.envkey contains the upstream-compatible environment variables to set.Use plain text under
stringData.config.env, as in the v7.1.1 base template. If you usedata.config.envinstead, its value must be base64-encoded.The YAML includes an object
kind: Secretwithmetadata.name: storage-configurationthat sets the root username, password, erasure parity settings, and enables Tenant Console.Modify this as needed to reflect your Tenant requirements.
-
Review the Namespace
The YAML object
kind: Namespacesets the default namespace for the Tenant tominio-tenant.You can change this value to create a different namespace for the Tenant. You must change all
metadata.namespacevalues in the YAML file to match the Namespace. -
Deploy the Tenant
Use the
kubectl apply -fcommand to deploy the Tenant.BASHThe command creates each of the resources specified in the YAML object at the configured namespace.
You can monitor the progress using the following command:
BASH -
Expose the Tenant S3 API port
To test the Silo client
mcfrom your local machine, forward the S3 API port and create an alias.- Forward the Tenant’s S3 API port:
BASH- Create an alias for the Tenant service:
BASHYou can use
mc mbto create a bucket on the Tenant:BASHIf you deployed the Tenant using TLS certificates minted by a trusted Certificate Authority (CA), you can omit the
--insecureflag.See Connect to the Tenant for specific instructions.
Connect to the Tenant
MinIO Operator creates Kubernetes Services for the Silo Tenant. Their generated names remain part of the Operator contract.
Use the kubectl get svc -n NAMESPACE command to review the deployed services. For Kubernetes services which use a custom kubectl analog, you can substitute the name of that program.
- The
minioservice exposes the Tenant S3 API. Applications should use this service for S3 operations against Silo. - The
*-consoleservice exposes the Silo Console. Administrators can use this service for browser-based management.
The remaining services support Tenant operations and are not intended for consumption by users or administrators.
By default each service is visible only within the Kubernetes cluster. Applications deployed inside the cluster can access the services using the CLUSTER-IP.
Applications external to the Kubernetes cluster can access the services using the EXTERNAL-IP. This value is only populated for Kubernetes clusters configured for Ingress or a similar network access service. Kubernetes provides multiple options for configuring external access to services.
See the Kubernetes documentation on Publishing Services (ServiceTypes) and Ingress for more complete information on configuring external access to services.
For specific flavors of Kubernetes, such as OpenShift or Rancher, defer to the service documentation on the preferred or available methods of exposing Services to internal or external access.