Pages

Topics

Tools

↑↓navigate↵openescclose

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

Latest guides

3D illustration of a node cube ringed by a warning barrier with a key-shaped toleration chip unlocking entry
Kubernetes

Kubernetes 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.

KubernetesSchedulingTaintsAffinity
3D illustration of pod cubes inside a fenced boundary with allow-list arrows through gated walls
Kubernetes

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.

KubernetesNetworkPolicyNetworkingSecurity
3D illustration of parallel batch task cubes reaching completion checkmarks under a schedule clock
Kubernetes

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.

KubernetesJobsCronJobBatch
3D illustration of a stack of server nodes each running one identical DaemonSet agent cube
Kubernetes

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.

KubernetesDaemonSetSchedulingOperations
3D illustration of numbered StatefulSet pod cubes each bound to its own storage cylinder and headless DNS
Kubernetes

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.

KubernetesStatefulSetStorageOperations
3D illustration of role keycards granting verbs to a service account identity at a cluster gate
Kubernetes

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.

KubernetesSecurityRBAC
3D illustration of a CPU metric gauge feeding an autoscaler that adds and removes pod cubes
Kubernetes

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.

KubernetesAutoscalingPerformance
3D illustration of a container with a CPU quota valve and memory limit wall beside QoS class badges
Kubernetes

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.

KubernetesResourcesPerformance
3D illustration of a pod cube with startup, liveness and readiness probe gauges attached
Kubernetes

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.

KubernetesPodsReliability
3D illustration of a storage class gear provisioning a disk volume that binds to a claim attached to a pod
Kubernetes

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.

KubernetesStorageStatefulSets