Kubernetes provides a command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.
kubectl is the main CLI tool used to communicate with Kubernetes clusters. It enables you to deploy apps, inspect and manage resources, and access logs by sending commands to the Kubernetes API. Think of it as the command-line gateway for working with your Kubernetes environment.
For more details, visit https://kubernetes.io/docs/.