Kubectl is a command line tool for running commands against Kubernetes clusters. It lets you deploy applications, manages cluster resources, and displays logs.
1. kubectl api-resources - List API resources available. 2. kubectl version - Specify Kubernetes version running on client and server. 3. kubectl config view - Get cluster configuration.
1. kubectl get namespaces - List namespaces in plain text 2. kubectl get pods–field-selector=spec. nodeName=[server-name] - List all pods running on a given node server