Blog

All 123 guides

Every guide on the blog, in 11 topics. Pick a topic, or type a word to search the titles and the tools.

Security

18 guides

Kubernetes · AWS · Azure · Google Cloud

A person holding a phone above a laptop keyboard
3 min read
GitHub

What changed in GitHub permissions in 2026

Six changes to who can trigger workflows and what apps and tokens may do, one with a deadline of 2 December.

Read the guide
4 min read
AWS

AWS IAM least privilege: from wildcards to exact actions

Replace wildcard IAM policies with exact actions, using the activity AWS already records.

4 min read
Azure

Azure Policy: audit, deny and fix resources that break the rules

Definitions, effects and remediation in Azure Policy, and a rollout that audits before it denies.

4 min read
Azure

Azure RBAC: scopes, built-in roles and custom roles

Role assignments, the four scope levels, the built-in roles to know and a custom role in JSON.

4 min read
AWS · Azure · Google Cloud

CloudTrail, Azure Activity Log and Cloud Audit Logs: turn them on first

What each cloud logs by default, how long it keeps the record and where to send a copy.

4 min read
Google Cloud

Google Cloud IAM and organization policies

The resource hierarchy, allow and deny policies and organization policy constraints, with gcloud.

4 min read
Kubernetes

Kubernetes audit logs: what to record and what to look for

Audit levels, an example policy, where managed clusters send the log, and what to search for.

4 min read
Kubernetes

Kubernetes network policies: start with default deny

A default-deny manifest, an allow rule for DNS, and the documented way to test a policy.

2 min read
Kubernetes

Kubernetes RBAC: five rules for least privilege

Groups over users, namespaces over clusters, and how to test what an account can do.

4 min read
Kubernetes

Kubernetes Secrets: encryption at rest and who can read them

How Secrets are stored, how to encrypt them in etcd, and who can still read them.

4 min read
Kubernetes

Kyverno policies: block what should never deploy

Five policy types, one documented example, and what happened to ClusterPolicy in 1.20.

4 min read
Kubernetes

Pod Security Standards: baseline, restricted and how to enforce them

Three levels, six namespace labels and a rollout that warns before it blocks.

4 min read
AWS

S3 bucket security: the settings to check on every bucket

Seven S3 settings to check on each bucket, with the commands that read and set them.

4 min read
AWS

Security groups and network ACLs: what each one filters

Stateful or stateless, allow or deny, instance or subnet: how the two VPC filters differ.

4 min read
Kubernetes

securityContext: the settings every pod should carry

Six settings, where each one goes, and a Deployment you can copy.

4 min read
Kubernetes

Service account tokens in Kubernetes: bound and short-lived

What changed from Secret-based tokens to bound ones, and how to find the old kind.

4 min read
AWS

Service control policies: guardrails for every AWS account

What SCPs restrict, what they skip, three example policies and a rollout on one OU first.

4 min read
Kubernetes

ValidatingAdmissionPolicy: admission rules without a webhook

A policy, a binding and a CEL expression, evaluated by the API server.

Authentication

18 guides

AWS · Azure · GitHub · OpenID

Hands typing on a laptop that shows code
2 min read
GitHub Actions · Azure

Set up OIDC between GitHub Actions and Azure

Five steps from an app registration to a workflow that logs in with no stored secret.

Read the guide
4 min read
AWS

AWS IAM Identity Center: one sign-in for many accounts

Identity sources, permission sets, CLI sign-in and the case against an IAM user in each account.

4 min read
AWS

AWS STS and AssumeRole: how short-lived credentials work

Trust policy, permissions policy, session duration, the external ID and the one-hour limit on role chaining.

4 min read
Azure

Azure managed identities: system-assigned or user-assigned

When to pick each type, how to grant a role, how code gets a token and which limits to plan for.

4 min read
Azure

Azure service principals: secrets, certificates and federation

App registration or service principal, the three credential types, secret expiry and the alternatives.

4 min read
GitHub

Deploy keys, SSH keys and machine users on GitHub

The credentials a server can use to reach a repository, what each one covers, and how to choose.

4 min read
GitHub

Fine-grained personal access tokens on GitHub

What a fine-grained token limits, what it cannot do today, and when a GitHub App fits better.

4 min read
GitHub

GitHub Apps or personal access tokens for automation

Ownership, lifetime, permissions and rate limits compared, with a workflow that creates an app token.

3 min read
GitHub Actions

GITHUB_TOKEN permissions: set them for every job

The default setting, the permissions key at workflow and job level, and what fork pull requests get.

4 min read
Google Cloud

Google Cloud service accounts without keys

Three alternatives to a key file, the policy constraint that blocks new keys and how to find old ones.

4 min read
GitLab · AWS

Keyless deploys from GitLab CI to AWS with OIDC

The IAM provider, the trust policy and the pipeline job that trades a GitLab token for AWS credentials.

2 min read
AWS · Google Cloud

Keyless deploys to AWS and Google Cloud with OIDC

The trust policy for AWS and the provider setting for Google Cloud, with the workflow for each.

4 min read
OAuth

OAuth 2.0 flows: which grant fits which client

Which OAuth 2.0 grant to use for a web app, a single-page app, a mobile app, a CLI and a service.

4 min read
OpenID

OpenID Connect for engineers: tokens, claims and trust

Three parties, two tokens, one discovery document, and the five claims a relying party must check.

4 min read
OpenID

SAML or OIDC: choosing a protocol for single sign-on

XML assertions or JSON tokens, where each one fits, and what to ask a vendor before you connect.

4 min read
Kubernetes · OpenID

Sign in to Kubernetes with OIDC in place of shared kubeconfigs

API server options, the kubelogin plugin for kubectl, and group claims bound to RBAC roles.

4 min read
JWT

What is inside a JWT and how to validate one

Header, payload and signature, the checks to run, and the mistakes that let forged tokens in.

4 min read
Kubernetes

Workload identity on EKS, AKS and GKE: pods without cloud keys

The role association, annotation, label or IAM binding that each of the three platforms needs.

Secrets

8 guides

GitHub · Vault · AWS · Azure

Supply chain

9 guides

GitHub · Trivy · Dependabot · Renovate

CI/CD

19 guides

GitHub Actions · Azure · Kubernetes · Git

A laptop showing a stylesheet in a code editor
2 min read
CI/CD

What a CI/CD pipeline should do on every commit

Seven checks, from the first build to the rollback.

Read the guide
4 min read
GitHub Actions · Kubernetes · Azure

ARC runners on AKS with a persistent disk for the work directory

What the work disk is for, the values file for AKS, and why each disk leaves with its runner pod.

3 min read
Azure

Azure Pipelines templates: reuse stages across projects

Write a stage once, pass it typed parameters, and require pipelines to extend an approved template.

4 min read
GitHub Actions

Caching in GitHub Actions: what to cache and when it hurts

Keys, restore keys, branch scope, the storage limit, and the cases where a cache slows the build.

4 min read
GitHub Actions

Concurrency groups: stop two deploys from running at once

One run per group at a time: cancel outdated pull request runs and never cancel a deploy.

4 min read
PostgreSQL

Database migrations in a pipeline: expand, then contract

Change a schema in phases, run the migration as its own step, and keep PostgreSQL locks short.

4 min read
CI/CD

DORA metrics: what they measure and how to collect them

The current five metrics, where the data comes from, and the ways teams misuse them.

4 min read
CI/CD

Feature flags: release without a deploy

The kinds of flag, where to evaluate them, safe defaults and how to remove them.

4 min read
GitHub Actions

GitHub Actions minutes: where they go and how to cut them

How runner time is billed, and the settings that reduce it.

4 min read
GitHub Actions

GitHub environments: approvals, secrets and deployment rules

Required reviewers, wait timers, branch rules and secrets that a job gets only after approval.

4 min read
GitLab

GitLab CI: rules, needs and pipelines that finish sooner

Skip jobs with rules, stop duplicate pipelines with workflow, and start jobs early with needs.

4 min read
Jenkins

Jenkins shared libraries: one pipeline for many jobs

Lay out a shared library, write one custom step, name its version and know what trusted means.

3 min read
GitHub Actions

Matrix builds in GitHub Actions

One job definition, many combinations: the syntax, the limits and the bill.

4 min read
GitHub Actions

Monorepo pipelines: build only what changed

Path filters, change detection per job, and one required check that always reports.

4 min read
GitHub Actions

Reusable workflows and composite actions in GitHub Actions

Share whole jobs with workflow_call and groups of steps with a composite action, and pin both.

2 min read
Kubernetes

Rolling, blue-green or canary: choosing a deployment strategy

What each strategy does, what it needs, and how to pick one.

4 min read
GitHub Actions

Self-hosted runners: the security rules

Ephemeral runners, runner groups by trust level, limited egress and no stored cloud keys.

5 min read
Git

Semantic versioning and automated releases

The semver rules, commit messages that carry the bump, and two tools that cut the release.

4 min read
CI/CD

Trunk-based development: short branches and small merges

One shared branch, branches that live a couple of days, and flags that hide unfinished work.

Kubernetes

10 guides

Kubernetes

A desk with two monitors showing code
2 min read
Kubernetes

Readiness, liveness and startup probes in Kubernetes

What each probe is for, and what the Kubernetes documentation warns about.

Read the guide
4 min read
Kubernetes

Debug a running pod with kubectl debug

Ephemeral containers, pod copies, node shells and debug profiles, with the commands for each.

4 min read
Kubernetes

Graceful shutdown in Kubernetes: SIGTERM, preStop and grace periods

The termination sequence, a preStop sleep, the grace period, and why a shell-form entrypoint gets no SIGTERM.

4 min read
Kubernetes

Horizontal Pod Autoscaler: scale on CPU, memory and custom metrics

How the autoscaler computes replicas, what it needs installed, and how to tune scale-up and scale-down.

4 min read
Kubernetes

Ingress or Gateway API: routing traffic into a cluster

The status of Ingress, the three Gateway API resources, and how to plan a move off ingress-nginx.

4 min read
Kubernetes

Kubernetes requests and limits: set them from what you measure

What requests and limits do, how QoS classes follow from them, and how to size both from real usage.

4 min read
Kubernetes

Kubernetes upgrades: a checklist for every minor version

What to check before, during and after a minor version upgrade, in the order to do it.

4 min read
Kubernetes

PodDisruptionBudgets: keep pods running through node drains

What a disruption budget covers, how to write one, and the settings that leave a node drain stuck.

4 min read
Kubernetes

Taints, tolerations and affinity: decide where pods run

Five ways to steer the scheduler, what each one is for, and a manifest that combines three of them.

2 min read
Kubernetes

vCluster: a Kubernetes cluster inside a namespace

What a virtual cluster is, how to create one, and where its isolation stops.

Infrastructure as code

9 guides

Terraform · OpenTofu

Containers

8 guides

Docker · Kubernetes

GitOps

8 guides

Argo · Flux · Helm · Kubernetes

Observability

8 guides

Prometheus · Grafana · OpenTelemetry

Cloud operations

8 guides

AWS · Azure · Google Cloud · Kubernetes