A CLI and kubernetes CLI plugin that allows you to interact with OCM/ACM to provision and managed your Hybrid Cloud presence from the command-line.
Go 1.16 is required in order to build or contribute on this project as it leverage the go:embed
tip.
The binary will be installed in $GOPATH/bin
git clone https://open-cluster-management-io/clusteradm.git
cd clusteradmin
make build
cm
This will create a binary oc-clusteradm
and kubectl-clusteradm
in the $GOPATH/go/bin
allowing you to call oc clusteradm
or kubectl clusteradm
git clone https://open-cluster-management-io/clusteradm.git
cd clusteradm
make plugin
kubectl clusteradm
oc clusteradm
This CLI (and plugin) is still in development, but aims to expose CNCF's functional through a useful and lightweight CLI and kubectl/oc CLI plugin. Some features may not be present, fully implemented, and it might be buggy!
See our Contributing Document for more information.
The commands are composed of a verb and a noun and then a number of parameters.