HomePhabricator

ci: Allow Docker nodes to use a dedicated /var/lib/docker volume

Authored by dduvall on Sep 12 2018, 12:14 AM.

Description

ci: Allow Docker nodes to use a dedicated /var/lib/docker volume

Implements a new profile::ci::dockervolume profile that provisions a
separate logical volume for /var/lib/docker using 70% of free space
before profile::labs::lvm::srv is applied. This gives the latter the
remaining 30%.

A new docker_lvm_volume parameter for role::ci::slave::labs::docker
was added that toggles inclusion of the new profile, allowing larger
instances to make use of the volume without breaking existing smaller
instances.

Bug: T203841
Change-Id: Ic6f9ad1ecbb420917c6190af6e83b517359babbe

Details

Committed
akosiarisSep 13 2018, 9:01 AM
Parents
rOPUPfefa0c12d4c6: cp1099: disable icinga notifications
Branches
Unknown
Tags
Unknown
References
refs/changes/75/459875/7
ChangeId
Ic6f9ad1ecbb420917c6190af6e83b517359babbe