DevOps
Articles in the DevOps category (28).
Articles in the DevOps category (28).
- A Git submodule monorepo with per-module tags for reproducible deployments — Why and how to pin each submodule with a tag, commit order (submodule then parent) and pitfalls with parallel sessions.
- Ansible ad hoc commands: ping, reboot and include_role — Ad hoc Ansible command examples to ping, reboot, run shell commands and run a single role or task file.
- Ansible cheat sheet: installation, Kerberos, inventory and roles — Installing Ansible in a virtual environment, automation user, SSH, Kerberos/WinRM, inventories, updates and playbook examples.
- Ansible custom facts — Create an Ansible custom fact in facts.d and use it in a playbook.
- Ansible variables: register, include_vars and anchors — Define, capture and import Ansible variables, and reuse YAML blocks with anchors and aliases.
- Ansible: show the effective configuration with ansible-config dump — List all Ansible settings and their values, e.g. DEFAULT_ROLES_PATH.
- Applying data corrections to production through a controlled process — Scripts in git, review, a pipeline that runs them in a transaction with row-count checks and saved output, never by hand from a laptop.
- ArchiMate and TOGAF for a DBA platform: three layers, useful elements and three views — Modelling a DBA platform with ArchiMate in Archi: business, application and technology layers, useful elements and relationships, three views and a Mermaid mirror.
- Azure DevOps YAML pipelines: build and deploy PowerShell applications to Azure Batch — Build, package and deploy stages, dev/acc/prd environments with approvals, Key Vault-linked variable groups and a workload identity federation service connection.
- Azure Monitor alerts as code for Azure SQL and Azure Batch — Define metric and log search alerts in versioned Bicep files, deploy them with a pipeline, handle maintenance windows and avoid alert fatigue.
- BorgBackup to a remote SSH storage box: useful commands — Repository creation, backup, restore, prune and compact with BorgBackup on a remote storage box.
- Docker: cheat sheet of common commands — Docker cheat sheet: containers, images, networks, volumes, ports, Dockerfile, Compose, cleanup and security.
- Docker: useful commands and SQL Server on Linux — Common Docker commands (stopped containers, shells, image updates, container IP) and an example SQL Server 2019 container on Linux.
- Duplicati: Windows service, Linux backup to Storj and systemd — Run Duplicati as an HTTPS Windows service, back up to Storj from the CLI, schedule with systemd, limit memory and decrypt a volume.
- Encrypting secrets with Ansible Vault — Create, edit and use Ansible Vault encrypted files to protect sensitive data.
- Git cheat sheet: configuration, GPG signing, branches and undo — Common Git commands: configuration, GPG signing, history, reset/revert, branches, tags, merge tools and GPG cache on Windows.
- Git: clean up orphaned objects with reflog, prune and gc — What git reflog, git prune and git gc do, the gc.pruneExpire setting and git filter-repo for rewriting history.
- Git: delete all commit history — Start over with an empty history using an orphan branch, and drop the last commit.
- Git: self-signed certificate in the SSL chain on Windows — Fix the Git error 'self signed certificate in certificate chain' by adding the root certificate of the internal authority to the Git for Windows CA bundle.
- Grafana dashboards for Azure SQL and Azure Batch — Designing a wallboard, choosing the Azure Monitor data source and Log Analytics workspace, and keeping dashboards as JSON in Git.
- Keeping an "errors and corrections" knowledge base: entries, runbooks and payoff — One entry per error (symptom, cause, fix, prevention), runbooks for recurring incidents and why it pays off.
- Keeping architecture models in sync with the code: Archi, Freeplane and Mermaid — Which model to update for which change (new app, resource, pipeline or a simple rename), backups before editing XML, export and review.
- kubectl and kubelogin: troubleshooting authentication errors — Clear the kubelogin cache, check identity, contexts and port-forward permission with kubectl.
- Kubernetes: manifest, service and node architecture — Introductory Kubernetes memo: deployment, service, cluster IP, master node, worker nodes and basic kubectl commands.
- Reusable pipeline templates and conventions: PSScriptAnalyzer and Pester in CI — Template files with parameters, naming, steps shared across applications, pre-deploy checks and PowerShell quality gates in CI.
- Scheduled pipelines for SQL maintenance and exports: cron, UTC and a single scheduler — Cron schedules, always false, UTC time zones, avoiding two schedulers on the same job, retiring an old pipeline safely and the release process.
- Triaging a failed scheduled run: a six-step method — Where to read status and logs, group errors, tell transient from defect, rerun safely and know when to open a ticket.
- Writing a technical analysis before coding: compared options, lightweight ADR and AI assistants — Problem statement, current state, options table, decision and reasons, open points, and what AI helps with or gets wrong.