Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

docker volume isn't controlled  #1507

@wenlxie

Description

@wenlxie

What is the problem you're trying to solve
Some of the open source images have volume defined in dockerfile.
For containerd, it will create a dir at h host and bind mount it to container.
PR: #247
But this dir is not controlled, user may writes lots of datas to that mounted dir inside container to abuse the system.

Describe the solution you'd like

  1. User need to do resource request in their pod spec
  2. Kubelet can monitor the usage and take action like evict.
  3. runtime can report the volume usage via CRI to kubelet.

Additional context
This feature had been discussed before
kubernetes/kubernetes#52032

cc @crosbymichael @Random-Liu @fuweid

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