Both --kaniko-dir
and KANIKO_DIR
needs to be set
#3098
Labels
area/cli
bugs related to kaniko CLI
good first issue
Good for newcomers
help wanted
Looking for a volunteer!
kind/bug
Something isn't working
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
Actual behavior
I have to set both
--kaniko-dir
andKANIKO_DIR
in order to ensure/kaniko
is not used.Expected behavior
From the help:
My understanding, reading the above, is that one only has to set
--kaniko-dir=/something
in order to ensure/kaniko
is not being used.To Reproduce
Steps to reproduce the behavior:
gcr.io/kaniko-project/executor:debug
in a CI setting where my CI runners are running on Kubernetes, with limited cluster node storage. In order to work around the storage limitation on the node, I want to use a PVC for kaniko's storage--kaniko-dir=/something
/something
and/kaniko
directories and note that/something
is used mainly for storing the binaries:While the
/kaniko
directory is still being used for the actual image snapshot storage, or something:KANIKO_DIR=/something
environment var, then build the image once again with--kaniko-dir=/something
./something
is being used exclusively.Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: