8000 k3s, cert-manager, k8sss: Log parsers by andsens · Pull Request #28 · nixos-homelab/shared · GitHub
[go: up one dir, main page]

Skip to content

k3s, cert-manager, k8sss: Log parsers - #28

Merged
andsens merged 2 commits into
mainfrom
logs
Nov 18, 2026
Merged

andsens merged 2 commits into
mainfrom
logs

Conversation

@andsens
@andsens andsens commented Nov 18, 2026
Copy link
Copy Markdown
Collaborator

How the logs of k3s (the journal: logrus logfmt and klog), CoreDNS, metrics-server, cert-manager's four containers (klog) and step-ca are parsed for Loki. step-ca's access log has no msg, so its message is the request (GET /health 200).

Each source comes with example lines and the records they must become; checks.logs runs them through the pinned Alloy and Loki (lib.logs.check).

Needs nixos-homelab/monitoring#37: flake.lock pins homelab-monitoring at its branch. Relock to main once that merges.

🤖 Generated with Claude Code

andsens and others added 2 commits November 18, 2026 21:02
How the logs of k3s (the journal: logrus logfmt and klog), CoreDNS, metrics-server, cert-manager's four containers (klog) and step-ca are parsed for Loki. step-ca's access log has no msg, so its message is the request (GET /health 200).

Each source comes with example lines and the records they must become;
checks.logs runs them through the pinned Alloy and Loki
(lib.logs.check). flake.lock pins homelab-monitoring at
nixos-homelab/monitoring#37, which brings the pipeline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andsens
andsens enabled auto-merge (squash) November 18, 2026 20:21
@andsens
andsens merged commit b77a702 into main Nov 18, 2026
3 of 4 checks passed
@andsens
andsens deleted the logs branch November 18, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0