A command-line tool for managing insfrastructure running on Krane.
Official Documentation: https://www.krane.sh/#/docs/cli
You can install the Krane CLI using npm. The following command will install the cli globally allowing you to run krane commands from anywhere on your machine. Note that this requires node to be installed on your machine.
npm i -g kranenpm update -g krane# Display CLI usage and commands.
$ krane help
# Authenticate with a Krane instance.
$ krane login http://example.com:8500
# List all deployments and their status.
$ krane list
# Returns information about the containers for a deployment.
$ krane status
# Read realtime logs for a deployment.
$ krane logs <deployment>Checkout the official docs site for the complete list of avaiable commands.
The Krane CLI is written in Typescript using the OCLIF framework.
Commands are located under the /src directory