Describe the bug
Kubectl plugin naming conventions dictates that anything hyphen-separated is a subcommand so kubectl-view-utilization should be called like kubectl view utilization and not kubectl view-utilization.
sh-4.2# kubectl plugin list
The following compatible plugins are available:
/usr/local/bin/kubectl-grep
/usr/local/bin/kubectl-ingress_nginx
/usr/local/bin/kubectl-view-utilization
sh-4.2# kubectl-view-utilization -v
v0.3.2
sh-4.2# kubectl view utilization
The connection to the server localhost:8080 was refused - did you specify the right host or port?
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Resource Requests %Requests Limits %Limits Allocatable Schedulable Free
CPU Err Err 0 0
Memory 0 Err Err 0 0 0
sh-4.2# kubectl view-utilization
Error: unknown command "view-utilization" for "kubectl"
Run 'kubectl --help' for usage.
sh-4.2#
System details
- Operating system that client is running
MacOS 10.15.3, CentOS7/8, Docker 2.2.0.4
- kubectl client and server version
kubectl version
1.16.6
- view-utilization plugin version
kubectl view-utilization -v
kubectl view-utilization -v is precisely what doesn't work :) but its v0.3.2
Describe the bug
Kubectl plugin naming conventions dictates that anything hyphen-separated is a subcommand so kubectl-view-utilization should be called like
kubectl view utilizationand notkubectl view-utilization.System details
MacOS 10.15.3, CentOS7/8, Docker 2.2.0.4
kubectl version1.16.6
kubectl view-utilization -vkubectl view-utilization -vis precisely what doesn't work :) but itsv0.3.2