2.6 Verifying Your Cluster with kubectl cluster-info and get nodes
Right, so you’ve just thrown a bunch of YAML at kubeadm or clicked a few buttons on your cloud provider’s console. The install script finished with a triumphant “Happy hacking!” and you’re left staring at a blank terminal. Did it work? Is anything actually running? Let’s not guess. Let’s ask the cluster itself, using the primary tool you’ll have a love-hate relationship with: kubectl. First things first, let’s get the big picture. Run this: