Home

Awesome

Kyma CLI

Overview

A command line tool to support developers of and with Kyma

Available Commands

Prerequisites

In order to run the Kyma CLI you need the following software installed:

Usage

Installation of Kyma with minikube on Mac:

kyma provision minikube
kyma install

Installation of Kyma with minikube on Windows:

kyma provision minikube
# follow instructions to add hosts
kyma install

Installation of Kyma with minikube on Windows using HyperV:

kyma provision minikube --vm-driver hyperv --hypervVirtualSwitch {YOUR_SWITCH_NAME}
# follow instructions to add hosts
kyma install

Run tests on Kyma installation:

kyma test

Installation

For the latest release and installation instructions, see the release page

Kyma CLI as a Kubectl plugin

To follow this section a kubectl version of 1.12.0 or later is required.

A plugin is nothing more than a standalone executable file, whose name begins with kubectl- . To install a plugin, simply move this executable file to anywhere on your PATH.

Rename a kyma binary to kubectl-kyma and place it anywhere in your PATH:

sudo mv ./kyma /usr/local/bin/kubectl-kyma

Run kubectl plugin list command and you will see your plugin in the list of available plugins.

You may now invoke your plugin as a kubectl command:

$ kubectl kyma version
Kyma CLI version: v0.6.1
Kyma cluster version: 1.0.0

To know more about extending kubectl with plugins read kubernetes documentation.