From 6fbd788ce1f6202eddd73938067637267e21c1f4 Mon Sep 17 00:00:00 2001 From: Connor Braa Date: Thu, 29 Oct 2020 09:54:49 -0700 Subject: [PATCH] scale memory on eirini & kpack components when scale testing Authored-by: Connor Braa --- overlays/scale-testing.yml | 58 ++++++++++++++++++++++++++++++++------ 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/overlays/scale-testing.yml b/overlays/scale-testing.yml index 89d0e466..ea37eda8 100644 --- a/overlays/scale-testing.yml +++ b/overlays/scale-testing.yml @@ -3,26 +3,68 @@ #@overlay/match by=overlay.subset({ "kind" : "Deployment", "metadata": { "name" : "eirini" }}) --- spec: - #@overlay/match missing_ok=True - replicas: 10 + #@overlay/match missing_ok=True + replicas: 10 #@overlay/match by=overlay.subset({ "kind" : "Deployment", "metadata": { "name" : "eirini-controller" }}) --- spec: - #@overlay/match missing_ok=True - replicas: 10 + template: + spec: + containers: + #@overlay/match by="name" + - name: eirini-controller + #@overlay/match missing_ok=True + resources: + requests: + memory: 600Mi + limits: + memory: 1Gi #@overlay/match by=overlay.subset({ "kind" : "Deployment", "metadata": { "name" : "eirini-events" }}) --- spec: - #@overlay/match missing_ok=True - replicas: 10 + template: + spec: + containers: + #@overlay/match by="name" + - name: event-reporter + #@overlay/match missing_ok=True + resources: + requests: + memory: 600Mi + limits: + memory: 1Gi #@overlay/match by=overlay.subset({ "kind" : "Deployment", "metadata": { "name" : "eirini-task-reporter" }}) --- spec: - #@overlay/match missing_ok=True - replicas: 10 + template: + spec: + containers: + #@overlay/match by="name" + - name: task-reporter + #@overlay/match missing_ok=True + resources: + requests: + memory: 600Mi + limits: + memory: 1Gi + +#@overlay/match by=overlay.subset({ "kind" : "Deployment", "metadata": { "name" : "kpack-controller" }}) +--- +spec: + template: + spec: + containers: + #@overlay/match by="name" + - name: controller + #@overlay/match missing_ok=True + resources: + requests: + memory: 1Gi + limits: + memory: 2Gi #! Modify these values to adjust scaling characteristics #@ ingress_gateway_replicas = 2