Skip to content

fix(k8s): centralized logging perimeter hardening and fluent bit namespace scoping #121

Closed

Description

@dan-petty

Problem Statement

DevSecOps review of the centralized Kubernetes logging manifests (k8s/logging/) revealed Fluent Bit HTTP server bound to 0.0.0.0:2020 without NetworkPolicy protection; Loki ingress permitted from all RFC 1918 CIDRs; and unconstrained container log tailing across all namespaces.

Proposed Changes

  • Bind Fluent Bit HTTP server to 127.0.0.1 (or restrict ingress to monitoring namespace).
  • Restrict Loki ingress strictly to monitoring (Grafana) and logging (Fluent Bit).
  • Scope log collection in Fluent Bit to target application namespaces (default, llm, sandbox).

Acceptance Criteria

  • Pass automated Kubernetes security validation (devops k8s validate-policy).
  • Zero unconstrained ingress rules in k8s/logging/networkpolicy.yaml.
  • Fluent Bit metrics isolated from external cluster networks.

Activity

  1. added this to the v0.2.16 milestone on Sep 10, 2026
  2. added
    type/bug
    scope/k8s
    priority/p1-high
    on Sep 10, 2026
  3. modified the milestones: v0.2.16, v0.2.17 on Sep 12, 2026
  4. added
    status/in-progress
    and removed on Sep 13, 2026
  5. added and removed
    status/in-progress
    on Sep 13, 2026
  6. added a commit that references this issue on Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/k8stype/bug

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions