Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ content:
- namespace: "default"
savings: 500
workloadSavings:
- workloadName: "coredns"
- name: "coredns"
workloadType: "Deployment"
namespace: "kube-system"
cpuWithOcean: 25
cpuWithoutOcean: 50
memoryWithOcean: 32
memoryWithoutOcean: 64
savings: 250
isDeleted: True
- workloadName: "aws-node"
workloadDeleted: true
- name: "aws-node"
workloadType: "DaemonSet"
namespace: "kube-system"
cpuWithOcean: 25
cpuWithoutOcean: 50
memoryWithOcean: 32
memoryWithoutOcean: 64
savings: 250
isDeleted": False
workloadDeleted: false
count:
example: 1
kind:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ properties:
items:
type: object
properties:
workloadName:
name:
type: string
workloadType:
type: string
Expand All @@ -47,7 +47,7 @@ properties:
type: number
savings:
type: number
isDeleted:
workloadDeleted:
type: boolean


Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@ title: Ocean Right-Sizing Savings
description: >
Determines the Ocean right-sizing savings
required:
- clusterIdentifier
- endTime
- startTime
- workloads
properties:
clusterIdentifier:
type: string
example: "my-cluster"
description: >
Identifier of the Ocean cluster.
startTime:
type: string
example: 2025-01-20T11:35:02.745Z
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ properties:
items:
type: object
properties:
workloadName:
name:
type: string
description: The name of the workload
workloadType:
Expand All @@ -19,12 +19,12 @@ properties:

example:
namespaceName1:
- workloadName: workloadName1
- name: workloadName1
workloadType: Deployment
- workloadName: workloadName2
- name: workloadName2
workloadType: DaemonSet
namespaceName2:
- workloadName: workloadName3
- name: workloadName3
workloadType: StatefulSet
- workloadName: workloadName4
- name: workloadName4
workloadType: Deployment
Loading