This image is also distributed in a container build, mostly for Red Hat downstream distribution purposes.
make image-build
- One option it to build the binary locally
make cross-build
ENGINE=podman # works with "docker" too
IMAGE=kube-compare:latest
BASEOS=rhel9 # "rhel8" is an option too, for older systems
$ENGINE create --name kube-compare "$IMAGE"
$ENGINE cp "kube-compare:/usr/share/openshift/linux_amd64/kube-compare.$BASEOS" ./kubectl-cluster_compare
$ENGINE rm -f kube-compare
# run
export PATH=$PWD:$PATH
oc cluster-compare -h