Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 3.31 KB

kes.md

File metadata and controls

39 lines (27 loc) · 3.31 KB

MinIO Operator KES Configuration Slack

This document explains how to enable KES with MinIO Operator.

Getting Started

Prerequisites

Create MinIO Tenant

Use kubectl minio plugin to create the MinIO tenant with console and encryption enabled:

kubectl create ns tenant1-ns
kubectl create secret generic tenant1-secret --from-literal=accesskey=YOUR-ACCESS-KEY --from-literal=secretkey=YOUR-SECRET-KEY --namespace tenant1-ns
kubectl create -f https://raw.githubusercontent.com/minio/operator/master/examples/console-secret.yaml --namespace tenant1-ns
kubectl create -f https://raw.githubusercontent.com/minio/operator/master/examples/kes-secret.yaml --namespace tenant1-ns
kubectl minio tenant create --name tenant1 --secret tenant1-secret --servers 4 --volumes 16 --capacity 16Ti --namespace tenant1-ns --console-secret console-secret --kes-secret kes-config

KES Configuration

KES Configuration is a part of Tenant yaml file. Check the sample file available here. The config offers below options

KES Fields

Field Description
spec.kes Defines the KES configuration. Refer this
spec.kes.replicas Number of KES pods to be created.
spec.kes.image Defines the KES image.
spec.kes.kesSecret Secret to specify KES Configuration. This is a mandatory field.
spec.kes.metadata This allows a way to map metadata to the KES pods. Internally metadata is a struct type as explained here.

A complete list of values is available here in the API reference.