Testing
Pod Security Standards: Validating Kubernetes PSS with Policy Tests
Pod Security Standards (PSS) replaced PodSecurityPolicy (PSP) in Kubernetes 1.25.
Testing
Pod Security Standards (PSS) replaced PodSecurityPolicy (PSP) in Kubernetes 1.25.
Testing
Runtime security is the last line of defense. If a container escapes, an attacker pivots laterally, or malware executes inside your cluster — Falco is what catches it. But Falco rules that go untested are rules that fail silently when it matters most. This guide covers how to write, validate, and
Testing
OPA Gatekeeper extends Kubernetes admission control with custom policies written in Rego.
Testing
Mandatory Access Control (MAC) is what runs underneath discretionary permissions.
DevOps
Flux automates GitOps deployments, which means a broken Kustomization or HelmRelease can silently fail to reconcile — or worse, reconcile incorrectly — without anyone noticing until a production incident. This guide covers the full Flux testing stack: flux build for local manifest rendering, flux diff for live drift detection, envtest for controller
DevOps
ArgoCD makes GitOps deployments feel effortless — until a bad sync silently rolls out a broken config to 40 namespaces via an ApplicationSet. This guide covers how to validate ArgoCD applications, ApplicationSets, and sync policies before they reach a production cluster, using argocd app diff, local kind/k3d clusters, and automated
DevOps
Crossplane Compositions are Kubernetes-native infrastructure templates that expand a simple XR claim into tens of managed resources. A bug in a Composition can delete a production RDS instance when someone creates a new database claim. This guide covers how to test Composition logic with crossplane beta render, unit-test
DevOps
Helm charts are complex Go templates that generate Kubernetes manifests. A chart that lints cleanly can still produce broken YAML, silently wrong values, or manifests that fail admission webhooks. This guide covers the full testing stack: helm lint for static analysis, helm template for manifest inspection, chart-testing (ct) for
Chaos Engineering
LitmusChaos is a CNCF-graduated chaos engineering platform built natively for Kubernetes.
SRE
Chaos engineering is the practice of deliberately introducing failures into a system to discover weaknesses before they cause incidents.
Testing
Testing Kubernetes workloads against mocked APIs or unit-tested controllers misses an entire class of bugs — the ones that only appear when your pods, services, ingresses, and RBAC rules interact with a real API server. Running E2E tests against actual clusters in CI used to require expensive dedicated infrastructure. Lightweight
Testing
Kubernetes operators are some of the most complex software in a typical infrastructure stack — they implement reconciliation loops that must handle partial failures, retries, status conditions, and concurrent updates correctly. Testing them requires more than unit tests with mock functions. You need to exercise the full controller machinery: the informer