Skip to content

RFC: single binary cortex / make cortex easier to get started with #1136

@tomwilkie

Description

@tomwilkie
  • I'd like to put Cortex back to a single binary; see Split up cortex into different binaries / images #151 for the split into multiple binaries.
  • You'd still be able to run as a ingester, distributor etc; that would be a flag.
  • I want to introduce reading flags from yaml (see Underpinnings of a better single-process, no-dependancies Cortex. #1127); this would allow us to leave the flag defaults as is for backwards compat, whilst shipping a couple of yamls in the repo for getting started.
  • I want to unify the dependancies of the various "components" into a single place, and programatically initialise them in the right order. This should reduce the duplication in the various mains.
  • it will ensure the lite version never breaks due to flag (although we have a test now, so maybe not an issue)

I've got a WIP prototype of this based on the code in #1127, which I'm trying to publish in time for kubecon. WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions