DevOps
Articles in the DevOps category (16).
Articles in the DevOps category (16).
- 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.
- 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.
- 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.