Getting Started
Installation
-
Currently
ktl
can only be installed from source:brew install go go install github.com/Mirantis/ktl
-
Make sure you have
${HOME}/go/bin
in your${PATH}
-
To use
ktl
you will also needkubectl
and optionallyhelm
:brew install kubernetes-cli helm
Try the examples
If you would like to try ktl
in an isolated sandbox environment instead of
your live clusters, please follow these steps:
-
Run the included
examples/setup.sh
- this will deploy several lightweight K8skwok
clusters as Docker/Podman containers and will populate them with sample applications -
Run the
export KUBECONFIG
command returned bysetup.sh
- this will make surektl
uses the sample clusters instead of your real clusters from the mainKUBECONFIG
-
To cleanup, run
examples/cleanup.sh