Glossary & Kubernetes Commands¶
Glossary¶
- Pod - The smallest deployable unit in Kubernetes, containing one or more containers.
 - Node - A worker machine in Kubernetes, can be virtual or physical.
 - Cluster - A set of nodes running containerized applications managed by Kubernetes.
 - Control Plane - Components that manage the Kubernetes cluster (API server, scheduler, etcd, controllers).
 - kubelet - Agent running on each node that ensures containers are running.
 - etcd - Key-value store used for cluster state.
 - CNI (Container Network Interface) - Standard for configuring network interfaces in Linux containers.
 - Service - Abstraction to expose applications running on a set of Pods.
 - ConfigMap & Secret - Mechanisms for configuration and sensitive data management.
 - Ingress - API object for managing external access to services.
 
Common Kubernetes Commands Cheat Sheet¶
| Command | Description | 
|---|---|
kubectl get nodes | 
List all nodes in the cluster | 
kubectl get pods -A | 
List all pods across namespaces | 
kubectl describe pod <pod-name> | 
Detailed pod information | 
kubectl create -f <file.yaml> | 
Create resources from YAML file | 
kubectl apply -f <file.yaml> | 
Apply or update resources from YAML file | 
kubectl delete -f <file.yaml> | 
Delete resources defined in YAML file | 
kubectl logs <pod-name> | 
View logs of a specific pod | 
kubectl exec -it <pod-name> -- /bin/bash | 
Exec into a running container | 
kubectl get svc | 
List services in the cluster | 
kubectl get deployments | 
List all deployments | 
kubectl scale deployment <name> --replicas=N | 
Scale a deployment to N replicas | 
kubectl config view | 
Show kubeconfig details | 
kubectl cluster-info | 
Display cluster information |