feat(fleet): FleetDM osquery fleet-manager for all computers #113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/fleet-osquery-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Stand up FleetDM as the single osquery-based inventory / live-query / compliance pane across every computer in the homelab (macOS + x86 Linux + Pi k3s nodes), plus the Ansible
osquery-agentrole that enrolls hosts into it.Best-practice model adopted: fleet management is layered by function - Fleet = visibility, Ansible = config convergence, MDM stays per-platform (Headwind/Android is a separate, unaffected track). Plan:
~/.claude/plans/agile-bubbling-stroustrup.md.Contents
apps/fleet/(Flux): FleetDM v4.88.0 server (stateless) + MySQL 8 + Redis co-located (neither existed in-cluster; shared Postgres does not apply to Fleet). Migrations via a retryingfleet prepare dbinit container. LAN/Tailnet-only ingress atfleet.kblab.me. Wired intoapps/kustomization.yaml.ansible/roles/osquery-agent/: authored, NOT bound (mirrorsk3s-agent). macOS (brew cask + LaunchDaemon) and Debian/Pi (apt repo + osqueryd) supported; Arch/x86 fails loudly (osquery is AUR-only) as a tracked follow-up.site.yml: fix stale nut_clients comment (pi5-worker1 IS a nut_client per inventory).Verified
kubectl kustomize apps/fleetbuilds (10 resources); rootappsstill builds.ansible-playbook --syntax-checkpasses; SOPS secret round-trips (3 keys).GATED before merge/deploy (Flux reconciles on merge to master)
kubectl --context home-k3s label node <non-asus-node> fleet.storage/node=trueUntil then the datastores stay Pending by design.
vault_fleet_enroll_secret, then bind + run theosquery-agentrole.See
apps/fleet/README.mdandansible/roles/osquery-agent/README.md.