You are looking at the documentation of a prior release. To read the documentation of the latest release, please
visit here.
We use cookies and other similar technology to collect data to improve your experience on our site, as described in our Privacy Policy.
Run Production-Grade Databases on Kubernetes
Backup and Recovery Solution for Kubernetes
Run Production-Grade Vault on Kubernetes
Secure HAProxy Ingress Controller for Kubernetes
Kubernetes Configuration Syncer
Kubernetes Authentication WebHook Server
KubeDB simplifies Provision, Upgrade, Scaling, Volume Expansion, Monitor, Backup, Restore for various Databases in Kubernetes on any Public & Private Cloud
A complete Kubernetes native disaster recovery solution for backup and restore your volumes and databases in Kubernetes on any public and private clouds.
KubeVault is a Git-Ops ready, production-grade solution for deploying and configuring Hashicorp's Vault on Kubernetes.
Secure HAProxy Ingress Controller for Kubernetes
Kubernetes Configuration Syncer
Kubernetes Authentication WebHook Server
KubeDB provides a kubectl plugin to interact with KubeDB resources.
KubeDB kubectl plugin can be installed using Krew. Krew is the plugin manager for kubectl command-line tool. To install follow the steps below:
Install krew following the steps here.
If you have already installed krew, please upgrade krew to version v0.4.0 or later so that you can use custom plugin indexes.
kubectl krew upgrade
kubectl krew version
kubectl krew index add appscode https://github.com/appscode/krew-index.git
kubectl krew index list
kubectl krew update
kubectl plugin following the commands below:kubectl krew install appscode/dba
kubectl dba version
kubectl plugin is already installed, run the following command to upgrade the plugin:kubectl krew upgrade
kubectl dba version
You can download the pre-build binaries from kubedb/cli releases and put it into one of your installation directory denoted by $PATH variable.
Here is a simple Linux command to install the latest 64-bit Linux binary directly into your /usr/local/bin directory:
# Linux amd 64-bit
curl -o kubectl-dba.tar.gz -fsSL https://github.com/kubedb/cli/releases/download/v0.24.0/kubectl-dba-linux-amd64.tar.gz \
&& tar zxvf kubectl-dba.tar.gz \
&& chmod +x kubectl-dba-linux-amd64 \
&& sudo mv kubectl-dba-linux-amd64 /usr/local/bin/kubectl-dba \
&& rm kubectl-dba.tar.gz LICENSE.md
# Mac OSX 64-bit
curl -o kubectl-dba.tar.gz -fsSL https://github.com/kubedb/cli/releases/download/v0.24.0/kubectl-dba-darwin-amd64.tar.gz \
&& tar zxvf kubectl-dba.tar.gz \
&& chmod +x kubectl-dba-darwin-amd64 \
&& sudo mv kubectl-dba-darwin-amd64 /usr/local/bin/kubectl-dba \
&& rm kubectl-dba.tar.gz LICENSE.md
If you prefer to install kubectl KubeDB cli from source code, make sure that your go development environment has been setup properly. Then, just run:
go get github.com/kubedb/cli/...
Please note that this will install KubeDB cli from master branch which might include breaking and/or undocumented changes.