Giter Club home page Giter Club logo

Comments (7)

Nitishupkr avatar Nitishupkr commented on July 24, 2024

i take up this issue

from checkpointctl.

rst0git avatar rst0git commented on July 24, 2024

Hi @Nitishupkr, you are more than welcome to work on this GitHub issue. Please let us know if you have any questions.

from checkpointctl.

Parthiba-Hazra avatar Parthiba-Hazra commented on July 24, 2024

@Nitishupkr you still working on this? if not then I can take on.

from checkpointctl.

Parthiba-Hazra avatar Parthiba-Hazra commented on July 24, 2024

@rst0git if I am not wrong then container engine store container checkpoints here -
podman - /var/lib/containers/storage/overlay-containers
CRI-O - /var/run/crio/checkpoints

for the list command are we gonna print the full path of checkpoint containers?
and is there any other directories we also need to check? and what about the checkpoints that are store in the directory specified by the users during the container checkpoint command execution?

from checkpointctl.

rst0git avatar rst0git commented on July 24, 2024

@Parthiba-Hazra As a starting point, we can add checkpointctl list command that shows checkpoints stored in /var/lib/kubelet/checkpoints/. This path is used by Kubernetes/CRI-O and contains files with the following naming convention:

checkpoint-<pod-name>_<namespace-name>-<container-name>-<timestamp>.tar

Example:

checkpoint-counter-tl58j_default-counter-2023-10-12T11:02:56+01:00.tar

for the list command are we gonna print the full path of checkpoint containers?

It would good to use file name parsing and output a table similar to the checkpointctl show command. This functionality is particularly useful in scenarios where automated periodic checkpointing is used as a fault-tolerance mechanism, leading to many container checkpoints created in this directory.

what about the checkpoints that are store in the directory specified by the users during the container checkpoint command execution?

Once the list command has been merged, we could extend checkpointctl with support for configuration files that enable users to change the default path or to specify additional locations.

@adrianreber Do you have any thoughts?

from checkpointctl.

Parthiba-Hazra avatar Parthiba-Hazra commented on July 24, 2024

@Parthiba-Hazra As a starting point, we can add checkpointctl list command that shows checkpoints stored in /var/lib/kubelet/checkpoints/. This path is used by Kubernetes/CRI-O and contains files with the following naming convention:

checkpoint-<pod-name>_<namespace-name>-<container-name>-<timestamp>.tar

Example:

checkpoint-counter-tl58j_default-counter-2023-10-12T11:02:56+01:00.tar

for the list command are we gonna print the full path of checkpoint containers?

It would good to use file name parsing and output a table similar to the checkpointctl show command. This functionality is particularly useful in scenarios where automated periodic checkpointing is used as a fault-tolerance mechanism, leading to many container checkpoints created in this directory.

what about the checkpoints that are store in the directory specified by the users during the container checkpoint command execution?

Once the list command has been merged, we could extend checkpointctl with support for configuration files that enable users to change the default path or to specify additional locations.

@adrianreber Do you have any thoughts?

yes that sounds good.

from checkpointctl.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.