Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Latest commit

History

History
66 lines (46 loc) 路 1.54 KB

lokoctl.md

File metadata and controls

66 lines (46 loc) 路 1.54 KB
title weight description
lokoctl
10
lokoctl is a command line interface for Lokomotive, Kinvolk's open-source Kubernetes distribution which includes installers for various platforms and Lokomotive components.

Installation

Download official releases

Every release of Lokomotive provides the lokoctl binary for several operating systems. These binaries can be manually downloaded and installed.

  1. Download your desired version, including the GPG signature.

  2. Verify the signature. It should match one of the Trusted keys.

gpg --verify lokoctl_v0.9.0_linux_amd64.tar.gz.sig
  1. Unpack it
tar xvf lokoctl_v0.9.0_linux_amd64.tar.gz
  1. Find the lokoctl binary in the unpacked directory and move it to its desired location
mv lokoctl_v0.9.0_linux_amd64/lokoctl ~/.local/bin/lokoctl
  1. Verify the version of lokoctl
lokoctl version
v0.9.0

Using 'go get'

You can quickly get latest version of lokoctl by running following command:

go get github.com/kinvolk/lokomotive/cmd/lokoctl

Once finished, lokoctl binary should be available in $GOPATH/bin.

Building from source

Clone this repository and build the lokoctl binary:

git clone https://github.com/kinvolk/lokomotive
cd lokomotive
make

The binary will be created in the project main directory.

Run lokoctl help to get an overview of all available commands.