Repository navigation
Conversation
Add an indexers inventory group beside ipfs_nodes under a new managed_boxes parent, which now holds the shared settings. Existing boxes' variables are unchanged. site.yml can sign in to a new box as root by key, and refuses a box whose name or storage is undecided. Storage is per box, with a ZFS mode that never recreates a pool. Indexers get wider unattended-upgrades, no automatic reboots and a reboot-required metric. hardening checks sshd's effective settings. k3s-upgrade.yml fails a box if a hop replaced a container outside kube-system. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
idx-new-1 becomes the test bed for the next indexer layout, meant to replace sf and sf2's later: the OS on a 500 GiB md RAID1 with ext4, installed by hand, and the rest of each disk as one md RAID5 with XFS at /ipni. storage_mode md_xfs creates the data partition in each disk's free space, the array and the filesystem, and like the zfs mode never recreates anything: existing arrays and filesystems are left alone, non-blank members stop the run, no force flags, and CI runs refuse to create an array. Indexers mount data at /ipni, the path ipni/infra's manifests use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The box was reinstalled with a 300 GB md RAID1 for the OS (not 500 GiB) after its three NVMe drives were switched from 512- to 4096-byte sectors in Cherry's rescue system. host_vars now names the disks by ID, and the README has the format switch as a build step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the idx-new-1 placeholder with the name the box already carries, and sets its site label, so site.yml no longer refuses to build it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Codifies building indexer boxes on Debian 13 with k3s, starting with
indexers-chic1(Cherry Servers, Chicago, 84.32.71.3). Over the next three months it is the test bed for a new indexer setup, which sf and sf2 are meant to adopt later.Do not merge yet. The box hasn't been built. CI's
site.ymlruns refuse a box that isn't hardened yet, and need its host key pinned ininventory/known_hosts, so merging now would break them. Merge afteransible-playbook site.yml -l indexers-chic1has run and the key is pinned.What's in it
indexersgroup, and amanaged_boxesparent for it andipfs_nodes. Shared settings moved togroup_vars/managed_boxes/. The IPFS boxes' resolved variables are unchanged, checked withansible-inventory --host.site.ymlandk3s-upgrade.yml: now cover indexers. Root login by key is tried before the password fallback. Boxes with undecided placeholders are refused.commonrole: Debian packages, unattended-upgrades also covering point releases on indexers, and reporting when a reboot is needed (needrestart reports only, plus a node-exporter metric).hardeningrole: removes cloud-image accounts, and checks the effective sshd config withsshd -T. That check also runs on the IPFS boxes.k3s-upgrade.yml: compares container IDs before and after each upgrade step, and fails if any container outsidekube-systemrestarted.storagerole: two new modes,zfsandmd_xfs.md_xfscreates a partition in the free space on each disk, an md array over them, and XFS at/ipni. It never recreates anything or uses force flags, refuses non-blank members, and won't create an array from CI.indexers-chic1's layout:AGENTS.md.Tested
--syntax-checkpasses onsite.ymlandk3s-upgrade.yml.Not tested
sshd -Ton the IPFS boxes.mkfs.xfsmay warn about the 4 KiB sector size on the Micron 7450s, which report a 256 KiB physical block.Still to decide
platform.ymlfor Argo CD to this box.exim4.🤖 Generated with Claude Code