1
0
mirror of https://github.com/minio/docs.git synced 2025-04-21 08:05:59 +03:00
docs/source/reference/kubectl-minio-plugin/kubectl-minio-init.rst
Ravind Kumar 8d8e6bca29
Procedure for updating Operator (#608)
Build out Operator Upgrade Procedure

Co-authored-by: Lenin Alevski <alevsk.8772@gmail.com>
2022-10-12 12:08:30 -04:00

4.2 KiB

kubectl minio init

minio

Table of Contents

kubectl minio init

Description

The kubectl minio init command initialize the MinIO Operator.

If the Kubernetes cluster has an existing MinIO Operator installation, this command upgrades the Operator to match the MinIO plugin version. For more information on upgrading the MinIO Operator, see minio-k8s-upgrade-minio-operator.

Syntax

EXAMPLE

The following command initializes a new MinIO Operator deployment running .

kubectl minio init

SYNTAX

The command has the following syntax:

kubectl minio init                      \
              [--cluster-domain]        \
              [--console-image]         \
              [--default-console-image] \
              [--default-kes-image]     \
              [--default-minio-image]   \
              [--image]                 \
              [--image-pull-secret]     \
              [--namespace]             \
              [--namespace-to-watch]    \
              [--output]                \
              [--prometheus-name]       \
              [--prometheus-namespace]

Flags

The command supports the following flags:

--cluster-domain

The domain name to use when configuring the DNS hostname of the operator. Defaults to cluster.local.

--console-image

The image to use when deploying the MinIO Console <console> in Operator mode, where administrators can create and manage MinIO tenants using a Graphical User Interface. Defaults to minio/console:v0.17.3.

--default-console-image

The default MinIO Console <console> image to use when creating a new MinIO tenant. Defaults to minio/console:v0.17.3.

--default-kes-image

The default kes <kes> image to use when creating a new MinIO tenant. Defaults to minio/kes:v0.18.0.

--default-minio-image

The default minio <minio> image to use when creating a new MinIO tenant. Defaults to minio/minio:RELEASE.2022-05-26T05-48-41Z.

--image

The image to use for deploying the operator. Defaults to the latest release of the operator <operator/releases/latest>.

--image-pull-secret

Secret key for use with pulling the ~kubectl minio init --image.

The MinIO-hosted minio/k8s-operator image is not password protected. This option is only required for non-MinIO image sources which are password protected.

--namespace

The namespace into which to deploy the operator. Defaults to minio-operator.

--namespace-to-watch

The namespace which the operator watches for MinIO tenants. Defaults to "" for all namespaces.

--output

Performs a dry run and outputs the generated YAML to STDOUT. Use this option to customize the YAML and apply it manually using kubectl apply -f <FILE>.

--prometheus-name

The name of the Prometheus service managed by the Prometheus Operator. Defaults to PROMETHEUS_NAME

--prometheus-namespace

The namespace into which to deploy Prometheus. Defaults to PROMETHEUS_NAMESPACE