Skip to content

Commit

Permalink
docs: Improves doc for cores and memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Jul 27, 2023
1 parent 97ae6e5 commit fb9068c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions decoder/job-definition-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ definitions:

# A kubernetes CPU (cores) declaration (minimum of 10m).
# Here we allow an up-to 4-digit 'm' value or a 2-digit integer.
# The value is used by the Data Manager to set the corresponding Job
# resource request and limit values. By providing this value you
# essentially define a "guaranteed" minimum CPU allocation for the Job.
# If you do not specify a value, the Data Manager will use a default.
cores:
oneOf:
- type: string
Expand All @@ -159,6 +163,10 @@ definitions:
# A kubernetes memory declaration.
# Here we allow an up-to 4-digit Mi value (minimum of 100Mi)
# or a 2-digit Gi value (minimum of 1G).
# The value is used by the Data Manager to set the corresponding Job
# resource request and limit values. By providing this value you
# essentially define a "guaranteed" minimum memory budget for the Job.
# If you do not specify a value, the Data Manager will use a default.
memory:
type: string
pattern: '^([1-9][0-9]{2,3}Mi|[1-9][0-9]{0,1}Gi)$'
Expand Down

0 comments on commit fb9068c

Please sign in to comment.