Kubernetes
Reference documentation for running production Kubernetes clusters — covering core concepts, GitOps with ArgoCD, and day-2 operations.
What's covered
| Section | Topics |
|---|---|
| Core Concepts | Nodes, API server, etcd, scheduling |
| Workloads | Deployments, StatefulSets, DaemonSets, Jobs |
| Networking | Services, Ingress, NetworkPolicy, CoreDNS |
| Storage | PVCs, StorageClasses, CSI drivers |
| ArgoCD | GitOps, App of Apps, sync policies |
| Operations | Monitoring, scaling, RBAC |
Quick reference
# Cluster info
kubectl cluster-info
kubectl get nodes -o wide
# Current context
kubectl config current-context
kubectl config get-contexts
# All resources in a namespace
kubectl get all -n <namespace>
# Describe a failing pod
kubectl describe pod <pod-name> -n <namespace>
kubectl logs <pod-name> -n <namespace> --previous
Namespace conventions
Use dedicated namespaces per team or application tier. Avoid overloading default.