Forethinker
Forethinker

Reputation: 3788

How can a worker (thread) reserve disk space and communicate the reservation with other workers

I am trying to set up an autoscaling class that will check the disk resource to see if a worker can safely run. The disk usage can be estimated prior to running. What are some option for a worker to share this information with other workers?

Upvotes: 0

Views: 60

Answers (1)

Tomáš Linhart
Tomáš Linhart

Reputation: 10220

I think that the best option is to write your own inspect command. See the documentation on how to do that, there's an example at the end of the section.

Upvotes: 1

Related Questions