-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMLSysOpsDatacenter.yaml
More file actions
99 lines (99 loc) · 2.99 KB
/
MLSysOpsDatacenter.yaml
File metadata and controls
99 lines (99 loc) · 2.99 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: mlsysopsdatacenters.mlsysops.eu
spec:
# group name to use for REST API: /apis/<group>/<version>
group: mlsysops.eu
scope: Namespaced #Cluster
names:
plural: mlsysopsdatacenters
singular: mlsysopsdatacenter
kind: MLSysOpsDatacenter
shortNames:
- mlsdatacenter
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema: # Add metadata for energy, etc. Is the reference top-down or bottom-up? Add list of cluster_ids in the datacenter description.
type: object
description: MLSysOps datacenter formal specification.
properties:
datacenter_id:
type: string
description: The unique datacenter identifier.
cluster_id:
type: string
description: The clusterID that the given datacenter is a member.
continuum:
type: string
description: The continuum layer that the datacenter belongs to.
enum:
- cloud
- edge_infrastructure
- edge
- far_edge
nodes:
type: array
items:
type: string
description: The set of registered nodes.
continent:
type: string
enum:
- europe
- asia
- africa
- australia
- north_america
- south_america
- antarctica
description: The desired continent (optional)
country:
type: string
enum:
- el # Greece
- it # Italy
- fr # France
- nl # Netherlands
- ie # Ireland
- pt # Portugal
- dk # Denmark
- il # Israel
description: The desired country (optional)
city:
type: string
enum:
- volos
- athens
- render
- milan
- lille
- delft
- dublin
- aveiro
- porto
- aarhus
- jerusalem
description: The desired city (optional)
location:
type: array
description: The location of the datacenter.
items:
type: number
cloud_provider:
type: string
enum:
- private
- aws
- microsoft_azure
- gcp
description: The name of the desired provider (optional)
required:
- cluster_id
- datacenter_id
- continuum
- nodes