Code Monkey home page Code Monkey logo

Comments (8)

npalm avatar npalm commented on June 2, 2024

@daanielcarvalho you can set the variable runners_root_size. It is used for setting the size of the disk of the docker-machine instances.

from terraform-aws-gitlab-runner.

daanielcarvalho avatar daanielcarvalho commented on June 2, 2024

Hi

I use runners_root_size = "30" and I still get 8gb machine running.
Screenshot 2019-06-06 at 09 14 15

Thanks in advance
Daniel

from terraform-aws-gitlab-runner.

npalm avatar npalm commented on June 2, 2024

Hi Daniel @daanielcarvalho

Is this the instance that is used for the agent? Or is this an instance used for hosting the runners. Typically a spot instances managed via docker-machine? In case this spot instance disk is not changed, please can you check if the root size is set in the user_data script in the launch coniguration.

If you would like to change the size of the disk of the instance hosting the agent, you have to create a change in the source. Feel free to propose a PR

from terraform-aws-gitlab-runner.

daanielcarvalho avatar daanielcarvalho commented on June 2, 2024

Hello

this is for the instances that will run the docker image with runner specifications!

Thanks
Daniel

from terraform-aws-gitlab-runner.

npalm avatar npalm commented on June 2, 2024

@daanielcarvalho a bit late response. Just verified and it works as documented. By setting runners_root_size = 25 the seize of the volume is 25 GB for example

image

from terraform-aws-gitlab-runner.

npalm avatar npalm commented on June 2, 2024

I will close the issue for now, Thanks for reporting

from terraform-aws-gitlab-runner.

bsuv avatar bsuv commented on June 2, 2024

@npalm this is not resolved! I just set the value of runners_root_size in a v4.1.0 module instance and still got only 8 GB.

I hope it's fine with you if I submit a PR replacing LCs with LTs and also using an input variable for setting root block device size at LT-time instead of boot time.

from terraform-aws-gitlab-runner.

npalm avatar npalm commented on June 2, 2024

@bsuv Thank you for reporting. The runner setup supports two modes, See the scenario's mentionin the readme.

In the first mode the builds are scheduled via a docker machine on spot instances. The runners_root_size sized is used for the spot instances hosting docker machine (see sample runner-default). In the thirds scenario builds are running on the the instance created by the auto scaling group via docker. for that instance the size is currently not configurable (see example runner-docker).

So feel free to propose PR's for:

  • make the size of the runner agent instance configurable / instance used for build when executor is docker.
  • convert Launch group to Lauch template.

Would be great if you can split them in 2 PR's

from terraform-aws-gitlab-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.