Skip to content

Implement path-based Flux scoping for workload isolation #2536

@dapperdivers

Description

@dapperdivers

Context

Instead of splitting the repo by concern (media, AI, etc.), use path-scoped Flux Kustomizations for blast radius reduction and independent reconciliation.

SDLC Integration

This becomes more valuable with our PR-based workflow:

  1. flux-local (already implemented) validates Kustomization changes statically on PR
  2. Path-based scoping means a broken media change can't take down AI or security
  3. vCluster can test specific domain changes in isolation before merge

Changes

Split the single cluster-apps Kustomization into domain-scoped Kustomizations:

  • apps-media, apps-ai, apps-security, apps-observability, etc.
  • Each reconciles independently with its own health checks
  • Failures are isolated to their domain

Tasks

  • Design domain-scoped Kustomization structure
  • Split cluster-apps into domain Kustomizations
  • Verify flux-local workflow handles the new structure
  • Test with a deliberate bad change to verify blast radius isolation
  • Update CODEOWNERS to match domain scoping

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions