Skip to content

Commit

Permalink
Reduce record size to 100K
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Aug 30, 2020
1 parent 0767f78 commit e5d1753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubectl-build
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fi

echo "spawning \"$name\""
if [ -n "$context" ] && [ "$context" != "tar://stdin" ]; then
tar --record-size=1M --checkpoint=1 --checkpoint-action='ttyout=Sending build context to Kaniko %{r}T\r' -C "$context" -czf - . | \
tar --record-size=100K --checkpoint=1 --checkpoint-action='ttyout=Sending build context to Kaniko %{r}T\r' -C "$context" -czf - . | \
kubectl run --image "$image" --restart=Never --overrides="$overrides" -i "$name" $generator $kubecontext $kubeconfig $namespace
else
kubectl run --image "$image" --restart=Never --overrides="$overrides" -i "$name" $generator $kubecontext $kubeconfig $namespace
Expand Down

0 comments on commit e5d1753

Please sign in to comment.