-
Notifications
You must be signed in to change notification settings - Fork 15
/
sample.mesos.yaml
69 lines (66 loc) · 2.65 KB
/
sample.mesos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
site:
## Your site name, as in GODCB (if omitted or set to None, this value is
## retreived from /etc/glite-info-static/site/site.cfg )
# name: SITE_NAME
## Whether the provider is public or private cloud (default -> false)
# is_public: false
compute:
## Total number of cores available
# total_cores: 0
## Total RAM available (GB)
# total_ram: 0
#
## Support for GPU is dynamically obtained through the available APIs for
## the Mesos and Marathon use cases. Only for Chronos, GPU support is
## statically obtained by checking if 'total_accelerators' is not 0. This
## latter attribute is also used to report the total number of GPU
## accelerators ('num_gpus'), also applicable in the Marathon case, where
## the API does not provide this information.
# total_accelerators: 0
##
## Specific information about accelerators shall be placed within
## 'accelerators' attribute. The following attributes are currently
## supported (note that they accept any string):
# accelerators:
# vendor: nvidia
# model: 1080TI
# driver_version: x.y.z
# cuda_version: x.y.z
# cuDNN_version: x.y.z
#
## Whether OIDC is enabled at the service
# oidc_auth_enabled: false
## Whether the service is public or private. The default value is the same
## as 'site:is_public' parameter
# is_public_service: false
## Extra information on your Mesos endpoints
endpoints:
defaults:
## If Marathon or Chronos, it points to the parent Mesos endpoint
# service_parent_id: https://example.org/mesos
## Default path for volumes
# local_volumes_host_base_path: /tmp
## Supported Storage drivers
# persistent_storage_drivers: []
## Set of IPs pointing to the load balancer
# load_balancer_ips: []
## Values within the service definition have priority over the same ones
## in 'compute' and 'compute:endpoints:defaults'. For instance, based
## on the former values (within parent's 'compute' attribute), the:
## following definition:
##
# https://mesos.cloud.ifca.es/marathon:
# service_parent_id: https://mesos.cloud.ifca.es/mesos
# accelerators:
# vendor: nvidia
# model: TITANXSND
##
## result in the values below:
## - 'service_parent_id': 'https://mesos.cloud.ifca.es/mesos'
## (overrides'https://example.org/mesos')
## - 'accelerators:vendor': 'nvidia'
## - 'accelerators:model': 'TITANXSND' (overrides '1080TI')
## - 'accelerators:driver_version': 'null' (overrides 'x.y.z')
## - 'accelerators:cuda_version': 'null' (overrides 'x.y.z')
## - 'accelerators:cuDNN_version': 'null' (overrides 'x.y.z')