3.1 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	You can install the MinIO plugin using either the Kubernetes Krew plugin manager or manually by downloading and installing the plugin binary to your local host:
Krew Plugin Manager
Krew is a kubectl plugin manager developed by the Kubernetes SIG CLI group.
See the krew installation
documentation for specific instructions. You can use the Krew plugin
for Linux, MacOS, and Windows operating systems.
You can use Krew to install the MinIO kubectl plugin
using the following commands:
kubectl krew update
kubectl krew install minioIf you want to update the MinIO plugin with Krew, use the following command:
kubectl krew upgrade minioYou can validate the installation of the MinIO plugin using the following command:
kubectl minio versionThe output should match |operator-version-stable|.
Manual (Linux, MacOS)
You can download the MinIO kubectl plugin to your local
system path. The kubectl CLI automatically discovers and
runs compatible plugins.
The following code downloads the latest stable version |operator-version-stable| of the MinIO Kubernetes plugin and installs it to the system path:
curl https://github.com/minio/operator/releases/download/v|operator-version-stable|/kubectl-minio_|operator-version-stable|_linux_amd64 -o kubectl-minio
chmod +x kubectl-minio
mv kubectl-minio /usr/local/bin/The mv command above may require sudo
escalation depending on the permissions of the authenticated user.
Run the following command to verify installation of the plugin:
kubectl minio versionThe output should display the Operator version as |operator-version-stable|.
Manual (Windows)
You can download the MinIO kubectl plugin to your local
system path. The kubectl CLI automatically discovers and
runs compatible plugins.
The following PowerShell command downloads the latest stable version |operator-version-stable| of the MinIO Kubernetes plugin and installs it to the system path:
Invoke-WebRequest -Uri "https://github.com/minio/operator/releases/download/v|operator-version-stable|/kubectl-minio_|operator-version-stable|_windows_amd64.exe" -OutFile "C:\kubectl-plugins\kubectl-minio.exe"Ensure the path to the plugin folder is included in the Windows PATH.
Run the following command to verify installation of the plugin:
kubectl minio versionThe output should display the Operator version as |operator-version-stable|.