-
Notifications
You must be signed in to change notification settings - Fork 45
Resources
Mike Holt edited this page Oct 23, 2018
·
2 revisions
The resources document is a JSON document that defines a set of named resources with floating point values.
Example resources configuration
{
"version": "1.0",
"resources": {
"cpus": 1.5,
"mem": 64.0,
"foo": 3.1
}
}
In this example there are 1.5 CPUs, 64.0 MiB of memory, and 3.1 units of foo
.
A valid resources document is a JSON document with the following structure:
{
"version": STRING,
"resources": {STRING: NUMBER}
}
Type: String
Required: No
Defines the version of the resources specification used. This allows updates to be made to the specification while maintaining backwards compatibility by allowing Scale to recognize an olderversion
and convert it to the current version. The default value, if not included, is the latestversion
(currently1.0
).
Type: JSON Object
Required: Yes
Contains the resource names and their values (floating point allowed) as key/value pairs. Arbitrary resources names are supported, but a few resource names have pre-defined meanings:
cpus
: The number of CPUsmem
: The amount of memory inMiB
disk
: THe amount of local disk space inMiB
- Home
- What's New
-
In-depth Topics
- Enable Scale to run CUDA GPU optimized algorithms
- Enable Scale to store secrets securely
- Test Scale's scan capability on the fly
- Test Scale's workspace broker capability on the fly
- Scale Performance Metrics
- Private docker repository configuration
- Setting up Automated Snapshots for Elasticsearch
- Setting up Cluster Monitoring
- Developer Notes