For the complete documentation index, see llms.txt. This page is also available as Markdown.

Seldon CLI

Learn how to install and use the Seldon CLI tool for managing Seldon Core 2 resources in non-Kubernetes environments.

Note: The Seldon CLI allows you to view information about underlying Seldon resources and make changes to them through the scheduler in non-Kubernetes environments. However, it cannot modify underlying manifests within a Kubernetes cluster. Therefore, using the Seldon CLI for control plane operations in a Kubernetes environment is not recommended. For more details, see Seldon CLI.

Installing Seldon CLI

To install Seldon CLI using prebuild binaries or build them locally.

  1. Download from a recent release from https://github.com/SeldonIO/seldon-core/releases. It is dynamically linked and will require and *nix architecture and glibc 2.25+.

  2. Move to the seldon folder and provide the permissions.

    mv seldon-linux-amd64 seldon
    chmod u+x seldon
  3. Add the folder to your PATH.

  1. Install Go version 1.21.1

  2. Clone and make the build.

    git clone https://github.com/SeldonIO/seldon-core --branch=v2
    cd seldon-core/operator
    make build-seldon
  3. Add <project-root>/operator/bin to your PATH.

  1. Install dependencies. brew install go librdkafka

  2. Clone the repository and make the build.

    git clone https://github.com/SeldonIO/seldon-core --branch=v2
    cd seldon-core/operator
    make build-seldon-arm
  3. Add <project-root>/operator/bin to your PATH.

  4. Open your terminal and open up your .bashrc or .zshrc file and add the following line: export PATH=$PATH:<project-root>/operator/bin

Usage

seldon --help

Last updated

Was this helpful?