Skip to content

Attach extra volumes on stateful service nodes

Attach extra data disks to the nodes that require data persistence and data safety.

Changes:

  1. Add data_disk_type and data_disk_size in tencentcloud module to configure data disks. If data_disk_size is null, no disk will be created.
  2. Add <service>_data_disk_size on dedicated services in the tencentcloud ref arch
  3. In ansible common role, add variable data_disk to determine wether mount the disks or not. If the data_disk is found, the disk will be mounted to /var/opt/gitlab when it is omnibus node or /var/lib/docker when it is elasticserch node.

Related issues: https://gitlab.com/gitlab-jh/jh-team/infrastructure/-/issues/18

合并请求报告