OpenEBSCTL is a kubectl plugin to manage OpenEBS storage components.
Alpha. Under active development and seeking contributions from the community.
The CLI currently supports managing cStor
, Jiva
, LocalPV-LVM
, LocalPV-ZFS
Cas-Engines.
OpenEBSCTL is available on Linux, macOS and Windows platforms.
-
(Recommended) The latest binary can be installed via
krew
$ kubectl krew install openebs ... ... $ kubectl krew list PLUGIN VERSION openebs v0.2.0 ... ... # to update the openebs plugin $ kubectl krew upgrade openebs ... ...
-
Binaries for Linux, Mac and Windows are available as tarballs and zip in the release page.
-
Or, if you don't want to setup krew, you run the following to get latest version :-
wget https://raw.githubusercontent.com/openebs/openebsctl/develop/scripts/install-latest.sh -O - | bash
- Clone this repo to your system.
git clone https://github.com/openebs/openebsctl
cd openebsctl
- Run
make openebsctl
- Install vscode
- Install CodeTour plugin on vscode
- Open this project on vscode & press
[ctrl] + [shift] + [p]
or[command] + [shift] + [p]
and clickCodeTour: Open The Tour File
and locate the appropriate*.tour
file. The code walkthrough will begin. Happy Contributing!
-
$ kubectl openebs openebs is a a kubectl plugin for interacting with OpenEBS storage components such as storage(pools, volumegroups), volumes, blockdevices, pvcs. Find out more about OpenEBS on https://openebs.io/ Usage: kubectl openebs [command] [resource] [...names] [flags] Available Commands: completion Outputs shell completion code for the specified shell (bash or zsh) describe Provide detailed information about an OpenEBS resource get Provides fetching operations related to a Volume/Pool help Help about any command version Shows openebs kubectl plugin's version Flags: -h, --help help for openebs -n, --namespace string If present, the namespace scope for this CLI request --openebs-namespace string to read the openebs namespace from user. If not provided it is determined from components. --cas-type to specify the cas-type of the engine, for engine based filtering. ex- cstor, jiva, localpv-lvm, localpv-zfs. --debug to launch the debugging mode for cstor pvcs. Use "kubectl openebs command --help" for more information about a command.
-
To know more about various engine specific commands check these:-
OpenEBS welcomes your feedback and contributions in any form possible.
- Join OpenEBS community on Kubernetes Slack
- Already signed up? Head to our discussions at #openebs
- Want to raise an issue or help with fixes and features?
- See open issues
- See contributing guide
- See Project Roadmap
- Checkout our existing adopters and their feedbacks.
- Want to join our contributor community meetings, check this out.
- Join our OpenEBS CNCF Mailing lists
- For OpenEBS project updates, subscribe to OpenEBS Announcements
- For interacting with other OpenEBS users, subscribe to OpenEBS Users
For more details checkout CONTRIBUTING.md.