diff --git a/README.md b/README.md index fb406567be..19434e910e 100644 --- a/README.md +++ b/README.md @@ -165,47 +165,14 @@ performance: ## Procedure -### 1) Install the MinIO Operator - -Run the following commands to install the MinIO Operator and Plugin using the Kubernetes ``krew`` plugin manager: - -```sh -kubectl krew update -kubectl krew install minio -``` - -See the ``krew`` [installation documentation](https://krew.sigs.k8s.io/docs/user-guide/setup/install/) for instructions -on installing ``krew``. - -Run the following command to verify installation of the plugin: - -```sh -kubectl minio version -``` - -As an alternative to `krew`, you can download the `kubectl-minio` plugin from -the [Operator Releases Page](https://github.com/minio/operator/releases). Download the `kubectl-minio` package -appropriate for your operating system and extract the contents as `kubectl-minio`. Set the `kubectl-minio` binary to be -executable (e.g. `chmod +x`) and place it in your system `PATH`. - -For example, the following code downloads the latest stable version of the MinIO Kubernetes Plugin and installs it to -the system ``$PATH``. The example assumes a Linux operating system: +### 1) Install the MinIO Operator via Kustomization +Follow the [Install `kustomize`](https://kubectl.docs.kubernetes.io/installation/kustomize/) guide for your host system before starting this procedure. ```sh -wget -qO- https://github.com/minio/operator/releases/latest/download/kubectl-minio_linux_amd64_v1.zip | sudo bsdtar -xvf- -C /usr/local/bin -sudo chmod +x /usr/local/bin/kubectl-minio -``` - -Run the following command to verify installation of the plugin: - -```sh -kubectl minio version -``` - -Run the following command to initialize the Operator: - -```sh -kubectl minio init +VERSION=v5.0.11 +TIMEOUT=120 # By default is 27, sometimes connection is slow, allow more time to fetch it. +kustomize build "github.com/minio/operator/resources/?timeout=120&ref=${VERSION}" > operator.yaml +kubectl apply -f operator.yaml ``` Run the following command to verify the status of the Operator: @@ -227,24 +194,46 @@ interface for creating and managing MinIO Tenants. The `minio-operator-*` pod runs the MinIO Operator itself. -### 2) Access the Operator Console +### 2) Access the Operator Console via NodePort -Run the following command to create a local proxy to the MinIO Operator -Console: +Get the token: ```sh -kubectl minio proxy -n minio-operator +kubectl apply -f - <