Turborepo + pnpm monorepo for k3s homelab cluster on Intel NUCs. - Apps: Next.js web frontend, Express API (TypeScript, Dockerfiles, k8s manifests) - Packages: shared UI, ESLint config, TypeScript config, Drizzle DB schemas - Infra/Ansible: bare-metal provisioning with roles for common, k3s-server, k3s-agent, hardening - Infra/Kubernetes: ArgoCD GitOps (app-of-apps + ApplicationSets), platform components (cert-manager, Traefik, CloudNativePG, Valkey, Longhorn, Sealed Secrets), namespaces - Observability: kube-prometheus-stack, Loki, Promtail as ArgoCD Applications - CI/CD: GitHub Actions for PR builds, preview deploys, production deploys - DX: Taskfile, utility scripts, copier templates, Ubiquiti network docs
39 lines
917 B
YAML
39 lines
917 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: promtail
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://grafana.github.io/helm-charts
|
|
chart: promtail
|
|
targetRevision: 6.16.6
|
|
helm:
|
|
valuesObject:
|
|
config:
|
|
clients:
|
|
- url: http://loki.observability.svc:3100/loki/api/v1/push
|
|
snippets:
|
|
pipelineStages:
|
|
- cri: {}
|
|
- multiline:
|
|
firstline: '^\d{4}-\d{2}-\d{2}'
|
|
max_wait_time: 3s
|
|
resources:
|
|
requests:
|
|
memory: 64Mi
|
|
cpu: 50m
|
|
limits:
|
|
memory: 256Mi
|
|
tolerations:
|
|
- effect: NoSchedule
|
|
operator: Exists
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: observability
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|