Deckhouse Client
Deckhouse Client (d8) is a command-line client for Deckhouse.
How to install?
Using trdl package manager (Recommended)
Deckhouse CLI is distributed and updated via trdl. You
should install trdl client first.
After that is dealt with, add the Deckhouse CLI repository into trdl. Proceed with the following shell command:
URL=https://trrr.flant.dev/trdl-deckhouse-cli
ROOT_VERSION=1
ROOT_SHA512=$(curl -Ls ${URL}/${ROOT_VERSION}.root.json | sha512sum | tr -d '\-[:space:]\n')
REPO=trdl-deckhouse-cli
trdl add $REPO $URL $ROOT_VERSION $ROOT_SHA512
And install stable release using:
trdl update $REPO $ROOT_VERSION stable
Validate that the d8
binary is installed:
. $(trdl use $REPO $ROOT_VERSION stable) && d8 --version
If you dont want to call . $(trdl use $REPO $ROOT_VERSION stable)
every time you need to use d8
, consider adding export PATH=$PATH:$(trdl bin-path trdl-deckhouse-cli 1 stable)
to your shell RC file.
From binary releases
To install the d8
binary from the provided GitHub release link, follow these steps:
- Download your desired version
- Unpack it (
tar xvf d8-vX.Y.Z-OS-ARCH.tar.gz
)
- Find the
d8
binary in the unpacked directory, and move it to its desired destination under the $PATH.
- On macOS you might need to remove the quarantine attribute from binary to prevent Gatekeeper from blocking it (
sudo xattr -d com.apple.quarantine /path/to/d8
)