Add new CLI section for kubectl and rancher in the getting started area

This commit is contained in:
mkinney
2019-11-03 20:11:00 -08:00
committed by Denise
parent 7efe8f8aaa
commit a148560fef
2 changed files with 25 additions and 1 deletions
@@ -0,0 +1,22 @@
---
title: CLI with Rancher
weight: 100
---
Interact with Rancher using command line interface (CLI) tools from your workstation.
## Rancher CLI
Follow the steps in [rancher cli](../cli).
Ensure you can run `rancher kubectl get pods` successfully.
## kubectl
Install the `kubectl` utility. See [install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
Configure kubectl by visiting your cluster in the Rancher Web UI then clicking on `Kubeconfig`, copying contents and putting into your `~/.kube/config` file.
Run `kubectl cluster-info` or `kubectl get pods` successfully.