Working with kubectl: Your Cluster Control Tool
Get hands-on with kubectl, the command-line tool to inspect, create, and manage every resource in a Kubernetes cluster.
What Is kubectl
kubectl is the official CLI that talks to the Kubernetes API server. Nearly every cluster operation, creating, reading, updating, deleting resources, goes through it.
Configuring Cluster Access
kubectl reads a kubeconfig file (default ~/.kube/config) that holds cluster endpoints, users, and credentials grouped into contexts.
kubectl config get-contexts
kubectl config use-context my-clusterAll lessons in this course
- Introduction to Kubernetes & Why It Matters
- Kubernetes Architecture & Components
- Deploying Your First Pod
- Working with kubectl: Your Cluster Control Tool