kubectl rabbitmq plugin for Windows - Is it available?

136 views
Skip to first unread message

Rilind Harizaj

unread,
Aug 27, 2024, 8:01:15 AM8/27/24
to rabbitmq-users
Hello everyone,


I am currently running a local K8s server in my Docker instance (Windows-based machine) and am trying to install the rabbitmq kubectl plugin according to the instructions in the official documentation:
https://www.rabbitmq.com/kubernetes/operator/kubectl-plugin

However, I am regretfully not able to install the plugin into my device, with the error being the following:

> kubectl krew install rabbitmq
Updated the local copy of plugin index.
Installing plugin: rabbitmq
W0827 13:53:32.505542   26564 install.go:164] failed to install plugin "rabbitmq": plugin "rabbitmq" does not offer installation for this platform
failed to install some plugins: [rabbitmq]: plugin "rabbitmq" does not offer installation for this platform
Error: exit status 1

Does anyone know the reason for this? Having this plugin is not a must for my local setup, but I am surprised to see that the documentation has no mention of the supported platforms. In my understanding, the platform meant here is the platform in which the kubectl command is located, in this case my Windows machine.

I would be grateful for any suggestions. Since I am a beginner, it could be that I have not mentioned important details required to understand the problem better. In that case, please do not hesitate do let me know and I will provide the necessary details.


Best,
Rilind

Michal Kuratczyk

unread,
Aug 27, 2024, 8:20:47 AM8/27/24
to rabbitm...@googlegroups.com
The plugin is a simple BASH script which assumes a UNIX-like environment (works on macOS as well for example): https://github.com/rabbitmq/cluster-operator/blob/main/bin/kubectl-rabbitmq
I guess you can use it through WSL on Windows.

If someone contributes a Windows version of this script, that'd be great. Alternatively, it can be rewritten in Go or something and made multi-platform.
Such a rewrite would be a great way to contribute to RabbitMQ.

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ab14cddb-32d8-4417-a57d-0090d44ffd4dn%40googlegroups.com.


--
Michal
RabbitMQ Team

This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.

Rilind Harizaj

unread,
Aug 27, 2024, 8:36:25 AM8/27/24
to rabbitmq-users
Ah I see, thank you for you prompt response!

Best,
Rilind
Reply all
Reply to author
Forward
0 new messages