Skip to content

k8s composites stamp which composite made an object, so a live read can name it #5253

Open

Description

@lex00

chant's k8s composites stamp app.kubernetes.io/managed-by: chant and a name on what they make, but not which composite made it. chant#5252 infers applications from a live read and can tell a workload came from chant, though not that it is an AutoscaledService or an Argo app.

Change

  • Each composite stamps a label naming itself, such as chant.io/composite: autoscaled-service, on every object it makes.
  • The inference reads it and fills the application's composites.

Done when

  • A workload made by autoscaled-service and read back from a scratch cluster is recognised as that composite.
  • The label is listed in the k8s lexicon's docs, and existing composites' output changes only by that label, recorded on the level-0 exception list if any golden moves.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions