client/docs
Joan Edwards ffbf6841c2 Restructure Docs (#421) 2019-09-30 07:33:45 -07:00
..
cmd Restructure Docs (#421) 2019-09-30 07:33:45 -07:00
operations Restructure Docs (#421) 2019-09-30 07:33:45 -07:00
plugins Restructure Docs (#421) 2019-09-30 07:33:45 -07:00
traffic Restructure Docs (#421) 2019-09-30 07:33:45 -07:00
workflows Restructure Docs (#421) 2019-09-30 07:33:45 -07:00
README.md Restructure Docs (#421) 2019-09-30 07:33:45 -07:00

README.md

kn

kn is the Knative command line interface (CLI).

Getting Started

Installing kn

You can grab the latest nightly binary executable for:

Put it on your system path, and make sure it's executable.

Alternatively, check out the client repository, and type:

go install ./cmd/kn

Connecting to your cluster

You'll need a kubectl-style config file to connect to your cluster.

  • Starting minikube writes this file (or gives you an appropriate context in an existing config file)
  • Instructions for Google GKE
  • Instructions for Amazon EKS
  • Instructions for IBM IKS
  • Instructions for Red Hat OpenShift.
  • Or contact your cluster administrator.

kn will pick up your kubectl config file in the default location of $HOME/.kube/config. You can specify an alternate kubeconfig connection file with --kubeconfig, or the env var $KUBECONFIG, for any command.


Commands

Plugins

Kn supports plugins, which allow you to extend the functionality of your kn installation with custom commands as well as shared commands that are not part of the core distribution of kn. See the plugins documentation for more information.

More information on kn: