69 articles
Knowledge Base
DevOps
69 articles in the DevOps category · page 2 of 3.
- Recover a deleted Git branch or lost commit with git reflog Deleted a branch or lost a commit? git reflog keeps recently-referenced commits so you can recover a deleted Git branch and restore a lost commit in seconds.
- Termius for DevOps teams: centralized SSH access management Why Stack Harbor uses Termius to centralize SSH access across client and production systems — shared vaults, permissions, session logs, and clean offboarding.
- Database backup verification — how to know your restore actually works Backup verification across four levels — storage integrity, schema restore, data restore, application restore — with automation patterns for MySQL, PostgreSQL, and MongoDB.
- Patroni — production PostgreSQL high-availability cluster architecture Patroni PostgreSQL HA in production — etcd quorum, leader election, sync vs async replicas, HAProxy routing, watchdog, and the decisions that determine whether your cluster survives a real outage.
- Patroni failover behavior — what actually happens in the 30 seconds after Patroni failover behavior in detail — the leader-lock expiry, the replica race, HAProxy convergence, the sync-promotion data-loss window, and what the application actually sees during a real failover.
- Production observability on Kubernetes — Prometheus, Grafana, Loki, Tempo Kubernetes observability stack architecture — metrics, logs, traces wired through OpenTelemetry, sized for production cardinality, cost, and HA.
- SLOs, error budgets, and alerts that don't burn out the on-call SLOs, error budgets, and burn-rate alerts that protect the on-call rotation from noise — Google SRE multi-window pattern, symptom-based alerting, runbook hygiene.
- Zero-downtime MySQL major-version upgrade — InnoDB, replicas, cutover Production runbook for upgrading MySQL 5.7 to 8.0 or 8.0 to 8.4 LTS without taking the application offline. Replica-seed strategy, cutover sequence, rollback.
- Config drift detection — catching infrastructure changes nobody declared Detect when production has diverged from the code that defines it — Terraform drift, Ansible check mode, file-integrity tooling, and the alerts that matter.
- Disaster recovery drill — the quarterly that tells you if your backups work Plan and execute a credible DR drill — scope, RTO/RPO targets, the rehearsal script, the failure modes you actually find, and how the report should read.
- Restic encrypted backups with deduplication and offsite repos Stand up restic for client-side encrypted, deduplicated backups — repo init, scheduling via systemd, retention with forget+prune, and integrity with check.
- Helmfile — multi-environment Helm orchestration Helmfile composes Helm releases across environments with templating, includes, and selectors — the layout and CI pipeline we run for clients with many envs.
- Blue/green deploys with Nginx as the cutover switch Implement blue/green deployments on a single host or fleet using Nginx upstream switching — atomic cutover, traffic draining, and rollback in seconds.
- Rclone for offsite backup to S3, Backblaze B2, or Wasabi Use rclone to ship encrypted backups to S3-compatible storage with sync, bandwidth limits, retries, and object-lock for ransomware resistance.
- Helmsman — declarative Helm release management Helmsman turns a state file into a fleet of Helm releases — desired-state model, drift correction, and the patterns we use for shared Kubernetes clusters.
- LVM and ZFS snapshot backups for consistent state-ful workloads Take consistent storage-layer snapshots with LVM and ZFS, mount them for rsync or restic, and replicate ZFS sends to an offsite pool.
- Ansible roles and inventory layout that scale past one repo Move from a single playbook to a roles-based repo with proper inventory, group_vars and host_vars structure — without painting yourself into a corner.
- Cron vs systemd timers — when to pick which A decision guide between cron and systemd timers — logging, dependency handling, missed runs, randomization, and the failure modes each one hides.
- Database point-in-time recovery (PITR) — Postgres, MySQL, MongoDB Configure point-in-time recovery for Postgres (WAL archiving), MySQL (binlogs), and MongoDB (oplog), and run a real recovery to a chosen timestamp.
- Installing Jenkins on Ubuntu 24.04 the safe way Install Jenkins on Ubuntu 24.04 with the official apt repo, fronted by Nginx + Let's Encrypt, with reverse proxy hardening and credential storage that does not leak.
- Terragrunt — keep Terraform config DRY across environments How Terragrunt removes copy-paste from a multi-environment Terraform tree — repo layout, includes, dependencies, and the run-all pattern we use in production.
- Install Tekton Pipelines on a Kubernetes cluster Production-shaped Tekton install — controller, dashboard, triggers, results, and the RBAC + storage tuning that keeps a build platform from drowning your cluster.
- GitHub Actions essentials for production pipelines Build a GitHub Actions workflow that runs the right jobs on the right events, caches dependencies, uses OIDC for cloud auth, and fails loudly when something drifts.
- OpenTofu — fork of Terraform, and how to migrate OpenTofu is the Linux Foundation fork of Terraform after the BSL license change. Compatibility status, the migration steps, and the registry consideration.