Skip to main content

Kubernetes

Reference documentation for running production Kubernetes clusters — covering core concepts, GitOps with ArgoCD, and day-2 operations.

What's covered

SectionTopics
Core ConceptsNodes, API server, etcd, scheduling
WorkloadsDeployments, StatefulSets, DaemonSets, Jobs
NetworkingServices, Ingress, NetworkPolicy, CoreDNS
StoragePVCs, StorageClasses, CSI drivers
ArgoCDGitOps, App of Apps, sync policies
OperationsMonitoring, 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.