greenkube(optimization): rightsize Deployment/demo-web cpu 500m → 15m #1

Merged
greenkube merged 1 commits from greenkube/reco-57-demo-web into main 2026-09-27 10:59:57 +00:00
Owner

Summary

Deployment 'demo-web' CPU request 500m exceeds the VPA target 15m (97% reduction). Recommend reducing to 15m.

VPA 'demo/demo-web' recommends 15m CPU across 1 container(s); current request is 500m.

Impact

  • Estimated annual cost savings: $0.14
  • Estimated annual CO₂e savings: 0 gCO₂e
  • Savings method: request_reduction_ratio

Risk & reliability

  • Risk level: low
  • Risk factors: sufficient_headroom
  • Reversible: yes
  • Requires restart: yes

Evidence

  • Observation window: 2026-09-20 10:59:39.746300+00:00 → 2026-09-27 10:59:39.746300+00:00
  • Samples: 2 (coverage 0%)
Signal avg p50 p90 p95 p99 max
CPU (m) 0 0 0 0 0 0
Memory (B) 7512064 7512064 7512064 7512064 7512064 7512064
Resource Current request Proposed request
CPU 500m 15m
Memory 256MiB n/a

Proposed diff

--- a/clusters/minikube/manifests/demo-app/deployment.yaml
+++ b/clusters/minikube/manifests/demo-app/deployment.yaml
@@ -34,7 +34,7 @@
               containerPort: 8080
           resources:
             requests:
-              cpu: 500m
+              cpu: 15m
               memory: 256Mi
             limits:
               cpu: "1"

Verification plan

After merge, GreenKube observes the workload for the verification window and checks the cost, carbon and health signals against the frozen baseline.

  • cpu_p95_usage gt 16.5: p95 CPU usage exceeds 110% of the proposed request
  • restart_rate gt 0.0: any new restart after apply
  • Recommendation expiry: 2026-10-11T10:59:39.983651+00:00

Provenance

  • Source: vpa
  • Source reference: demo/demo-web
  • Recommendation ID: 57

Reviewer checklist

  • Change window is acceptable for this workload
  • No conflicting HPA/VPA or PVC constraints
  • Rollback owner is identified
## Summary Deployment 'demo-web' CPU request 500m exceeds the VPA target 15m (97% reduction). Recommend reducing to 15m. VPA 'demo/demo-web' recommends 15m CPU across 1 container(s); current request is 500m. ## Impact - Estimated annual cost savings: **$0.14** - Estimated annual CO₂e savings: **0 gCO₂e** - Savings method: `request_reduction_ratio` ## Risk & reliability - Risk level: **low** - Risk factors: `sufficient_headroom` - Reversible: yes - Requires restart: yes ## Evidence - Observation window: 2026-09-20 10:59:39.746300+00:00 → 2026-09-27 10:59:39.746300+00:00 - Samples: 2 (coverage 0%) | Signal | avg | p50 | p90 | p95 | p99 | max | |---|---|---|---|---|---|---| | CPU (m) | 0 | 0 | 0 | 0 | 0 | 0 | | Memory (B) | 7512064 | 7512064 | 7512064 | 7512064 | 7512064 | 7512064 | | Resource | Current request | Proposed request | |---|---|---| | CPU | 500m | 15m | | Memory | 256MiB | n/a | ## Proposed diff ```diff --- a/clusters/minikube/manifests/demo-app/deployment.yaml +++ b/clusters/minikube/manifests/demo-app/deployment.yaml @@ -34,7 +34,7 @@ containerPort: 8080 resources: requests: - cpu: 500m + cpu: 15m memory: 256Mi limits: cpu: "1" ``` ## Verification plan After merge, GreenKube observes the workload for the verification window and checks the cost, carbon and health signals against the frozen baseline. - `cpu_p95_usage` gt 16.5: p95 CPU usage exceeds 110% of the proposed request - `restart_rate` gt 0.0: any new restart after apply - Recommendation expiry: 2026-10-11T10:59:39.983651+00:00 ## Provenance - Source: `vpa` - Source reference: `demo/demo-web` - Recommendation ID: `57` ## Reviewer checklist - [ ] Change window is acceptable for this workload - [ ] No conflicting HPA/VPA or PVC constraints - [ ] Rollback owner is identified
greenkube added 1 commit 2026-09-27 10:59:45 +00:00
greenkube added 1 commit 2026-09-27 10:59:46 +00:00
greenkube merged commit 640c284855 into main 2026-09-27 10:59:57 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: greenkube/local-k8s#1