Kubectl plugin for FDB on Kubernetes
Installation
The kubectl fdb plugin is released as a binary as part of our release process.
For the latest version take a look at the release page.
Install from release:
pushd $TMPDIR
OS=$(uname)
ARCH="x86_64"
VERSION="$(curl -s "https://api.github.com/repos/FoundationDB/fdb-kubernetes-operator/releases/latest" | jq -r '.tag_name')"
curl -sLo kubectl-fdb "https://github.com/FoundationDB/fdb-kubernetes-operator/releases/download/${VERSION}/kubectl-fdb_${VERSION}_${OS}_${ARCH}"
chmod +x kubectl-fdb
sudo mv ./kubectl-fdb /usr/local/bin
popd
In order to install the latest version from the source code run:
make plugin
# move the binary into your path
export PATH="${PATH}:$(pwd)/dist/kubectl-fdb_$(go env GOHOSTOS)_$(go env GOARCH)"
Usage
Run kubectl fdb help to get the latest help.
Planned operations
We have a list of planned operations
that we want to implement.
Raise an issue if you miss a specific command to operate FDB on Kubernetes.