Skip to content

nalbury-handy/buildkit-gc-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Buildkit gc repro

This repo is to reproduce a possible buildkitd storage leak.

Requirements

The ./repro.sh script simply requires a kubernetes cluster/config setup

Usage

./repro.sh

This script should create a kubernetes namespace buildkit-repro with a statefulset for buildkitd and a statefulset + service for a docker registry. Once buildkit and the registry are ready, it will use kubectl cp/exec to build the app in ./testapp repeatedly (pushing to the registry each time), with a small "code" change per build to bust the cache a bit. It should also print out the disk usage reported by buildctl du and df -h each at the begining and end of the run.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published