cli

module
v1.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0

README

Longhorn Commandline Interface (longhornctl)

This repository contains the source code for longhornctl, a CLI (command-line interface) designed to simplify Longhorn manual operations.

What Can You Do With longhornctl?

  • Install and verify prelight requirements.
  • Execute one-time Longhorn operations.
  • Gain inside into your Longhorn system.

Install longhornctl

Run From Container Image

To be updated

Using curl

To be updated

Build From Source
  1. Clone repository
    git clone https://github.com/longhorn/cli.git
    
  2. Build the longhornctl binary
    cd cli
    make
    

    Note: This process will generate two binaries:

    • longhornctl: A command-line interface for remote Longhorn operations, designed to be run outside the Kubernetes cluster. It executes longhornctl-local for operations within the cluster.
    • longhornctl-local: A command-line interface to be used within a DaemonSet pod inside the Kubernetes cluster, handling in-cluster and host operations.
  3. After the build process completes, find the longhornctl binary in the ./bin directory.

Getting Started

To begin, run longhornctl --help to access a list of available commands and options.

Command Reference

To be updated

Jump to

Keyboard shortcuts

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