Skip to content

containerd integration: implement image filters with containerd's filter package #43845

@thaJeztah

Description

@thaJeztah

Description

As discussed in #43816 (comment), containerd provides functionality to filter images in the github.com/containerd/containerd/filters package; https://github.com/containerd/containerd/blob/7fd6d5e2be5b91095247f382318453def2912e2f/filters/filter.go

Unfortunately, the package does not (yet) allow searching for timestamps (and > / <), but some filters could be implemented using it;

  • reimplement filters that are already supported by containerd to prevent having to fetch all images (only to filter the results after fetching them)
  • consider upstreaming patches in containerd to implement the missing functionality ( searching for timestamps (and > / <))

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/imagesImage Servicearea/performancecontainerd-integrationIssues and PRs related to containerd integrationkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Projects

    Status

    To do

    Status

    Optional

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions