Skip to content

Commit ba4eaf8

Browse files
authored
Merge pull request #317 from edgexr/fix-indentation
EAM API: Fix lint errors
2 parents 1e906ee + 6360558 commit ba4eaf8

File tree

1 file changed

+127
-127
lines changed

1 file changed

+127
-127
lines changed

Diff for: code/API_definitions/Edge-Application-Management.yaml

+127-127
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ components:
717717

718718
AppZones:
719719
description: |
720-
Collection of Edge Cloud Zones and/or Kubernetes cluster reference
720+
Collection of Edge Cloud Zones and/or Kubernetes cluster reference
721721
where the Application Provider wants to instantiate the application.
722722
type: array
723723
items:
@@ -1128,132 +1128,132 @@ components:
11281128
enum:
11291129
- kubernetes
11301130
applicationResources:
1131-
description: |
1132-
Application resources define the resources pool required
1133-
by the application to be executed in a Kubernetes clusters.
1134-
type: object
1135-
properties:
1136-
cpuPool:
1137-
required:
1138-
- numCPU
1139-
- memory
1140-
- topology
1141-
type: object
1142-
description: |
1143-
CPU Pool refers to the amount of application' resources
1144-
that is executed in nodes with CPU only. That means the part
1145-
of application that doesn't require GPU or other kind of
1146-
acceleration.
1147-
CPU pool is not mandatory when the application is executed
1148-
exclusively in a GPU pool.
1149-
A CPU pool is composed by CPU and memory.
1150-
properties:
1151-
numCPU:
1152-
description: |
1153-
Total number of vcpus in whole (i.e 1) of CPU pool.
1154-
type: integer
1155-
example: 1
1156-
memory:
1157-
description: Total memory in mega bytes of CPU pool.
1158-
type: integer
1159-
example: 1024
1160-
topology:
1161-
type: object
1162-
description: |
1163-
CPU pool topology defines an application's CPU-based
1164-
architecture.
1165-
When deploying for high availability or redundancy, it
1166-
allows for clustering with a configurable number of nodes
1167-
and minimum CPU/memory resource per Kubernetes node
1168-
requirements.
1169-
required:
1170-
- minNumberOfNodes
1171-
- minNodeCpu
1172-
- minNodeMemory
1173-
properties:
1174-
minNumberOfNodes:
1175-
description: |
1176-
Minimum number of worker nodes required by the
1177-
application.
1178-
type: integer
1179-
example: 5
1180-
minNodeCpu:
1181-
description: |
1182-
Minimum number of vcpus in whole (i.e 1) per cluster
1183-
node in CPU pool.
1184-
type: integer
1185-
example: 2
1186-
minNodeMemory:
1187-
description: |
1188-
Minimum memory in mega bytes per cluster node in
1189-
CPU pool.
1190-
type: integer
1191-
example: 1024
1192-
gpuPool:
1193-
required:
1194-
- numCPU
1195-
- memory
1196-
- gpuMemory
1197-
- topology
1198-
type: object
1199-
description: |
1200-
GPU Pool refers to the amount of resources of the application
1201-
that is executed in nodes with GPU.
1202-
GPU Pool is not mandatory when the application is executed
1203-
exclusively in a CPU pool.
1204-
A GPU pool is composed by memory, CPU and GPU memory
1205-
properties:
1206-
numCPU:
1207-
description: |
1208-
Total Number of vcpus in whole (i.e 1) of GPU pool.
1209-
type: integer
1210-
example: 1
1211-
memory:
1212-
description: Total memory in mega bytes of GPU pool.
1213-
type: integer
1214-
example: 1024
1215-
gpuMemory:
1216-
description: Total GPU memory in giga bytes of GPU pool.
1217-
type: integer
1218-
example: 16
1219-
topology:
1220-
type: object
1221-
description: |
1222-
GPU pool topology defines an application's GPU-based
1223-
architecture.
1224-
When deploying for high availability or redundancy, it
1225-
allows for clustering with a configurable number of nodes
1226-
and minimum CPU/memory/GPU memory resource per Kubernetes
1227-
node requirements.
1228-
required:
1229-
- minNumberOfNodes
1230-
- minNodeCpu
1231-
- minNodeMemory
1232-
- minNodeGpuMemory
1233-
properties:
1234-
minNumberOfNodes:
1235-
description: |
1236-
Minimum number of worker nodes with GPU required by
1237-
the application.
1238-
type: integer
1239-
example: 2
1240-
minNodeCpu:
1241-
description: |
1242-
Minimum number of vcpus in whole (i.e 1) per cluster
1243-
node in GPU pool.
1244-
type: integer
1245-
example: 2
1246-
minNodeMemory:
1247-
description: |
1248-
Minimum memory in mega bytes per cluster node in
1249-
GPU pool.
1250-
type: integer
1251-
example: 1024
1252-
minNodeGpuMemory:
1253-
description: Minimum memory in giga bytes per cluster
1254-
node in GPU pool.
1255-
type: integer
1256-
example: 8
1131+
description: |
1132+
Application resources define the resources pool required
1133+
by the application to be executed in a Kubernetes clusters.
1134+
type: object
1135+
properties:
1136+
cpuPool:
1137+
required:
1138+
- numCPU
1139+
- memory
1140+
- topology
1141+
type: object
1142+
description: |
1143+
CPU Pool refers to the amount of application' resources
1144+
that is executed in nodes with CPU only. That means the part
1145+
of application that doesn't require GPU or other kind of
1146+
acceleration.
1147+
CPU pool is not mandatory when the application is executed
1148+
exclusively in a GPU pool.
1149+
A CPU pool is composed by CPU and memory.
1150+
properties:
1151+
numCPU:
1152+
description: |
1153+
Total number of vcpus in whole (i.e 1) of CPU pool.
1154+
type: integer
1155+
example: 1
1156+
memory:
1157+
description: Total memory in mega bytes of CPU pool.
1158+
type: integer
1159+
example: 1024
1160+
topology:
1161+
type: object
1162+
description: |
1163+
CPU pool topology defines an application's CPU-based
1164+
architecture.
1165+
When deploying for high availability or redundancy, it
1166+
allows for clustering with a configurable number of nodes
1167+
and minimum CPU/memory resource per Kubernetes node
1168+
requirements.
1169+
required:
1170+
- minNumberOfNodes
1171+
- minNodeCpu
1172+
- minNodeMemory
1173+
properties:
1174+
minNumberOfNodes:
1175+
description: |
1176+
Minimum number of worker nodes required by the
1177+
application.
1178+
type: integer
1179+
example: 5
1180+
minNodeCpu:
1181+
description: |
1182+
Minimum number of vcpus in whole (i.e 1) per cluster
1183+
node in CPU pool.
1184+
type: integer
1185+
example: 2
1186+
minNodeMemory:
1187+
description: |
1188+
Minimum memory in mega bytes per cluster node in
1189+
CPU pool.
1190+
type: integer
1191+
example: 1024
1192+
gpuPool:
1193+
required:
1194+
- numCPU
1195+
- memory
1196+
- gpuMemory
1197+
- topology
1198+
type: object
1199+
description: |
1200+
GPU Pool refers to the amount of resources of the application
1201+
that is executed in nodes with GPU.
1202+
GPU Pool is not mandatory when the application is executed
1203+
exclusively in a CPU pool.
1204+
A GPU pool is composed by memory, CPU and GPU memory
1205+
properties:
1206+
numCPU:
1207+
description: |
1208+
Total Number of vcpus in whole (i.e 1) of GPU pool.
1209+
type: integer
1210+
example: 1
1211+
memory:
1212+
description: Total memory in mega bytes of GPU pool.
1213+
type: integer
1214+
example: 1024
1215+
gpuMemory:
1216+
description: Total GPU memory in giga bytes of GPU pool.
1217+
type: integer
1218+
example: 16
1219+
topology:
1220+
type: object
1221+
description: |
1222+
GPU pool topology defines an application's GPU-based
1223+
architecture.
1224+
When deploying for high availability or redundancy, it
1225+
allows for clustering with a configurable number of nodes
1226+
and minimum CPU/memory/GPU memory resource per Kubernetes
1227+
node requirements.
1228+
required:
1229+
- minNumberOfNodes
1230+
- minNodeCpu
1231+
- minNodeMemory
1232+
- minNodeGpuMemory
1233+
properties:
1234+
minNumberOfNodes:
1235+
description: |
1236+
Minimum number of worker nodes with GPU required by
1237+
the application.
1238+
type: integer
1239+
example: 2
1240+
minNodeCpu:
1241+
description: |
1242+
Minimum number of vcpus in whole (i.e 1) per cluster
1243+
node in GPU pool.
1244+
type: integer
1245+
example: 2
1246+
minNodeMemory:
1247+
description: |
1248+
Minimum memory in mega bytes per cluster node in
1249+
GPU pool.
1250+
type: integer
1251+
example: 1024
1252+
minNodeGpuMemory:
1253+
description: Minimum memory in giga bytes per cluster
1254+
node in GPU pool.
1255+
type: integer
1256+
example: 8
12571257
isStandalone:
12581258
description: |
12591259
Define if the Kubernetes clusters can be reused by other

0 commit comments

Comments
 (0)