All syntax guides
Short, practical guides on programming syntax, language fundamentals, and the tools developers reach for every day.
3,965 guides across 14 topics
Topics
Popular guides
Most readLatest guides
Page 20 of 397Kubernetes Taints, Tolerations, and Node Affinity: How Placement Really Decides
Taints repel, tolerations permit, affinity prefers. The three taint effects, the NoExecute grace window, and why a label change never moves a running pod.
Kubernetes NetworkPolicies: Ingress, Egress, and the AND/OR Selector Trap
Policies are additive allow-lists with no deny rules. How one indentation level turns an airtight namespace rule into a cluster-wide hole, and why DNS breaks after default-deny.
Kubernetes Jobs and CronJobs: Completions, Parallelism, Backoff, and Missed Schedules
completions counts successes, parallelism counts concurrency, and backoffLimit counts retries. Plus podFailurePolicy, restartPolicy differences, and the CronJob timezone trap.
Kubernetes DaemonSets: Node Selectors, Taints, and Rolling Update Strategies
One pod per eligible node, decided by labels and taints rather than replicas. How maxUnavailable and maxSurge actually behave, and why an agent can be missing on a brand-new node.
Kubernetes StatefulSets: Ordinal Identities, Headless Services, and PVC Lifecycle
Why each StatefulSet pod keeps a name, a DNS record, and its own PVC; how OrderedReady gates startup on readiness; and how partition-based updates canary a single quorum member.
Kubernetes RBAC: Role, ClusterRole, RoleBinding, and ServiceAccount
Four objects, additive only, no deny rules. The empty apiGroup that silently voids a rule, why list is not get, and how a default ServiceAccount becomes cluster-admin.
Horizontal Pod Autoscaler (HPA): Scaling Metrics and Stabilization Windows
The replica formula, its 10% tolerance, why utilization needs CPU requests, and the behavior policies that stop a scale loop from flapping. Plus the three causes of an unknown metric target.
Kubernetes Requests vs Limits: CPU Throttling, QoS Classes, and OOMKilled
CPU over its limit is throttled and memory over its limit is killed. How that asymmetry, the requests-to-limits ratio, and the QoS class decide latency, eviction order, and which pods go Pending.
Kubernetes Probes: Liveness, Readiness, and Startup Probe Configuration
Readiness removes traffic, liveness restarts the container, startup buys time for slow boots. Why a liveness probe on the database restarts every replica, and the timeout default that causes random restarts.
PersistentVolumes, PVCs, StorageClasses, and Access Modes (RWO/RWX)
RWO is one node, not one pod. WaitForFirstConsumer is not a stuck PVC. Binding, dynamic provisioning, expansion, reclaim policies, and the Multi-Attach error that stops a second replica.