Skip to content

nobl9/sloctl

Folders and files

NameName
Last commit message
Last commit date
May 8, 2024
Jan 12, 2024
Jan 12, 2024
Mar 4, 2024
Jun 4, 2024
Feb 16, 2024
May 29, 2024
Jan 12, 2024
Mar 29, 2024
May 15, 2024
Feb 28, 2024
Jun 6, 2024
Jan 10, 2024
Jun 4, 2024
Mar 11, 2024
Jun 6, 2024
Jun 1, 2024
Jun 1, 2024
Jun 4, 2024

Repository files navigation

N9

checks tests vulnerabilities

Sloctl is a command-line interface (CLI) for Nobl9. You can use the sloctl CLI for creating or updating multiple SLOs and objectives at once as part of CI/CD.

The web user interface is available to give you an easy way to create and update SLOs and other resources, while sloctl aims to provide a systematic and/or automated approach to maintaining SLOs as code.

For more details check out sloctl user guide.

Install

Prebuilt Binaries

The binaries are available at Releases page.

Go install

go install github.com/nobl9/sloctl/cmd/sloctl@latest

Homebrew

brew tap nobl9/sloctl
brew install sloctl

Docker

docker pull nobl9/sloctl

Build Docker image locally

  1. Download Dockerfile and latest linux sloctl binary from the Releases page. Make sure they are in your working directory.

  2. Build the image:

    docker build -t <NAME_YOUR_IMAGE> .
  3. Set environment variables if you plan to use them for authenticating with SLOCTL. Reference the sloctl environment variables Doc.

  4. Run the image:

    docker run
    -e SLOCTL_CLIENT_ID=$SLOCTL_CLIENT_ID \
    -e SLOCTL_CLIENT_SECRET=$SLOCTL_CLIENT_SECRET \
    <YOUR_IMAGE_NAME> get slos --no-config-file