Skip to content

Correlate Listener to Stacklet/indirect owner #138

@nightkr

Description

@nightkr

This is required for product operators to be able to watch Listeners properly (primarily to generate discovery config). It's theoretically possible to reproduce by following the path (using ownerReferences if nothing else is specified) Listener -> PersistentVolume -> PersistentVolumeClaim (via PV.spec.claimRef) -> Pod (by.. iterating over them and looking for the matching claim mount? ew) -> StatefulSet -> Stacklet.

Another approach would be to use our conventional labels on the PVC (app.kubernetes.io/{name,instance,component}), but that isn't really scoped to Stackable (as opposed to any other way to run HDFS). Then again, that's arguably "fine" if we end up doing spurious reconciles once in a while...

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