Skip to content

kyma-project/cli

REUSE status

Kyma CLI

Warning

The Kyma CLI version v2, with all commands available within this version, is deprecated. Please start using alpha commands available as part of v3 and please contribute with usecase ideas and general feedback.

Kyma CLI is a command-line interface tool designed to simplify the use of Kyma for application developers. It helps to manage Kyma modules and deploy simple applications, automating complex tasks with simple commands and accelerating development cycles.

Install

For the installation instructions, see How to Install.

Usage

Inspect the new available alpha commands by calling the --help option:

kyma alpha --help

Run a simple app from the image on Kyma by calling:

kyma alpha app push --name my-first-kyma-app --image kennethreitz/httpbin --expose --container-port 80


Creating deployment default/my-first-kyma-app

Creating service default/my-first-kyma-app

Creating API Rule default/my-first-kyma-app

The `my-first-kyma-app` application is available under the https://my-first-kyma-app.{CLUSTER_DOMAIN}/ address

For more usage scenarios, see user documentation.

Development

To build a Kyma CLI binary, run:

go build -o kyma main.go

You can run the command directly from the go code. For example:

go run main.go alpha module list

Contributing

See the Contributing Rules.

Code of Conduct

See the Code of Conduct document.

Licensing

See the license file.