-
Notifications
You must be signed in to change notification settings - Fork 0
How to get one YAML to install Operator and Tenant
Cesar Celis Hernandez edited this page Mar 1, 2023
·
6 revisions
- Clone the Repo:
git clone https://github.com/minio/operator.git- Get file for Operator:
kustomize build ~/operator/ > minio-operator-v4-5-8.yamlYou can change things like Operator Replicas, example:
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
operator.min.io/authors: MinIO, Inc.
operator.min.io/license: AGPLv3
operator.min.io/support: https://subnet.min.io
labels:
app.kubernetes.io/instance: minio-operator
app.kubernetes.io/name: operator
name: console
namespace: minio-operator
spec:
replicas: 1 <---- This can be changed!- Install Operator:
kubectl apply -f minio-operator-v4-5-8.yamlIf using OpenShift:
oc apply -f minio-operator-v4-5-8.yamlExpected output:
$ kubectl apply -f minio-operator-v4-5-8.yaml
namespace/minio-operator created
customresourcedefinition.apiextensions.k8s.io/tenants.minio.min.io created
serviceaccount/console-sa created
serviceaccount/minio-operator created
clusterrole.rbac.authorization.k8s.io/console-sa-role created
clusterrole.rbac.authorization.k8s.io/minio-operator-role created
clusterrolebinding.rbac.authorization.k8s.io/console-sa-binding created
clusterrolebinding.rbac.authorization.k8s.io/minio-operator-binding created
configmap/console-env created
secret/console-sa-secret created
service/console created
service/operator created
deployment.apps/console created
deployment.apps/minio-operator created