-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82e9749
commit 4b173b8
Showing
2 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 25 additions & 12 deletions
37
api/services/ocean/rightsizing/schemas/oceanRightsizingSavingsWorkloadsRequest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,30 @@ | ||
type: object | ||
title: Ocean Right-Sizing Savings Workloads | ||
description: > | ||
Determines the Ocean Savings filtering by the combinations of namespace::workload | ||
type: object | ||
properties: | ||
namespaceName: | ||
description: Determines the namespace to filter with an array of its workloads | ||
type: array | ||
items: | ||
type: string | ||
properties: | ||
workloadName: | ||
type: string #todo baruch - change to workload object with workload type | ||
example: { | ||
namespaceName1: [ "workloadName1", "workloadName1" ], | ||
namespaceName2: [ "workloadName1", "workloadName1" ] | ||
} | ||
type: object | ||
additionalProperties: | ||
type: array | ||
items: | ||
type: object | ||
properties: #todo baruch | ||
workloadName: | ||
type: string | ||
description: The name of the workload | ||
workloadType: | ||
type: string | ||
description: The type of the workload (e.g., Deployment, DaemonSet, StatefulSet) | ||
|
||
example: | ||
namespaceName1: | ||
- workloadName: workloadName1 | ||
workloadType: Deployment | ||
- workloadName: workloadName2 | ||
workloadType: DaemonSet | ||
namespaceName2: | ||
- workloadName: workloadName3 | ||
workloadType: StatefulSet | ||
- workloadName: workloadName4 | ||
workloadType: Deployment |