D8s is a command tool to work in conjuction with tilt.
D8s is spoken dates.
d8s up tilt up
This will
- deploys a
Docker in Dockerpod into kubernetes - creates a port-forward to
dind - execute the given command (
tilt up) and setsDOCKER_HOST=tcp://127.0.0.1:[random_port]andDOCKER_BUILDKIT=1as environment variables
To keep dind healthy the pod runs docker and Nurse.
Nurse does the following things:
- restart docker in case it starts take to much memory away from the actuall builds
- limit the number of parallel requests
- run
docker system prunewhen/var/lib/dockeris used to more then 90%