Awesome
Kyma CLI
Overview
A command line tool to support developers of and with Kyma
Available Commands
version
: Shows the Kyma cluster version and the Kyma CLI versionprovision minikube
: Initializes minikube with a new cluster (replaces theminikube.sh
script)install
: Installs Kyma to a cluster based on a release (replaces theìnstaller.sh
andis-installed.sh
script)uninstall
: Uninstalls all Kyma related resources from a clustercompletion
: Outputs shell completion code for bashtest
: Triggers and reports the tests for every Kyma modulehelp
: Displays usage for the given command (e.g.kyma help
,kyma help status
, etc...)
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.