Skip to content

Commit

Permalink
Updated docs to support resource classes in Score spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaya-sys committed Oct 24, 2023
1 parent 7353ace commit bdc2218
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion content/en/docs/reference/score-spec-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ resources:
annotations: # optional
[annotation-name]: [value]
type: [resource-type]
class: [resource-class]
```

**`resources`**: defines dependencies needed by the Workload.
Expand All @@ -91,7 +92,12 @@ resources:
- **`Type`**: object.
- **`Constraints`**: alphanumeric string key-value pairs.

`resource-type`: specifies the resource in the target environment.
`type`: specifies the resource type.

- **Type**: string.
- **Constraints**: alphanumeric string.

`class`: a specialisation of the resource type.

- **Type**: string.
- **Constraints**: alphanumeric string.
Expand Down

0 comments on commit bdc2218

Please sign in to comment.