Skip to content

Watch Pod events instead of periodically polling #101

@Billy99

Description

@Billy99

When moving from using CSI Agent to mount extracted cache to using PVCs, GKM under went a major rewrite. The original design used a CSI Agent to manage mounting the extracted cache in the pod. The CSI Agent and the GKM Agent used a local database, json data in local files on each node, to pass data between themselves. The GKM Agent then rerad the database files periodically to determine if CSI Agent updated the data. Now the CSI is no longer used, GKM Agent can watch Pod or PVC events (need to determine which would work better) to determine if a PVC is in use or not. Currrently, GKM is waking up too often and using too much CPU.

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