Installing and Configuring the kubectl Tool
Deployment of the Lightbits CSI plugin can be carried out from any computer—including user laptops, Kubernetes cluster nodes, and other servers - with network access to the Kubernetes API server and to the Kubernetes cluster control plane using the standard kubectl tool. If kubectl is not already installed on the machine in question, please install it before proceeding to the next subsection.
For full kubectl installation instructions and configuration, including ways of obtaining the relevant kubeconfig file for the Kubernetes cluster and instructing kubectl to use this kubeconfig file, see the Install and Set Up kubectl section of the Kubernetes documentation.
$ kubectl cluster-info Kubernetes master is running at https://1.2.3.4:6443KubeDNS is running at https://1.2.3.4:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxykubernetes-dashboard is running at https://1.2.3.4:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxyTo further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.$ kubectl get nodesNAME STATUS ROLES AGE VERSIONnode1 Ready master 90d v1.17.5node2 Ready node 90d v1.17.5node3 Ready node 90d v1.17.5Verify that kubectl is configured and can communicate with the right Kubernetes cluster by executing the following commands (please note that the details of the output you will see will likely differ):