deckhouse-cli

command module
v0.10.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

Deckhouse Client

Deckhouse Client (d8) is a command-line client for Deckhouse.

How to install?

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:

  1. Download your desired version
  2. Unpack it (tar xvf d8-vX.Y.Z-OS-ARCH.tar.gz)
  3. Find the d8 binary in the unpacked directory, and move it to its desired destination under the $PATH.
  4. 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)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL