Skip to content

Commit

Permalink
Disable sysbox inner image preloading for K8s deployments.
Browse files Browse the repository at this point in the history
The feature is only useful when using "docker build" or "docker commit" to
create container images that come preloaded with inner container images. By
disabling it in K8s, sysbox pod stopping will become faster (and can be
significantly faster if the pod had a docker engine inside that pulled
lots of inner container images.

Signed-off-by: Cesar Talledo <cesar.talledo@docker.com>
  • Loading branch information
ctalledo committed Jun 10, 2023
1 parent 677a135 commit b560194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/systemd/sysbox-mgr.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PartOf=sysbox.service
[Service]
Type=simple
Type=notify
ExecStart=/usr/bin/sysbox-mgr
ExecStart=/usr/bin/sysbox-mgr --disable-inner-image-preload
TimeoutStartSec=45
TimeoutStopSec=90
StartLimitInterval=0
Expand Down

0 comments on commit b560194

Please sign in to comment.