Skip to content

Commit

Permalink
Scaling up ingestors in app-sre-stage-01 for load testing RHOBS-961
Browse files Browse the repository at this point in the history
Signed-off-by: Moad Zardab <[email protected]>
  • Loading branch information
moadz committed Feb 5, 2024
1 parent fd524f2 commit 1c6b825
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ objects:
periodSeconds: 5
resources:
limits:
cpu: "4"
memory: ${INGESTOR_MEMORY_LIMIT}
requests:
cpu: ${INGESTOR_CPU_REQUEST}
Expand Down Expand Up @@ -319,16 +320,16 @@ objects:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storage: 50Gi
storageClassName: gp2
parameters:
- name: INGESTOR_CPU_REQUEST
value: 200m
value: "2"
- name: INGESTOR_LOG_LEVEL
value: warn
- name: INGESTOR_MEMORY_LIMIT
value: 10Gi
value: 64Gi
- name: INGESTOR_MEMORY_REQUEST
value: 3Gi
value: 32Gi
- name: INGESTOR_REPLICAS
value: "1"
value: "3"
5 changes: 4 additions & 1 deletion services_go/instances/rhobs/rhobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ func stageConfig() observatorium.Observatorium {
ObjStoreSecret: "default-tenant-s3",
Tenants: buildMetricTenants(tenants, DefaultInstanceName),
ReceiveIngestorPreManifestsHook: func(ingestor *receive.Ingestor) {
ingestor.VolumeSize = "5Gi"
ingestor.VolumeSize = "50Gi"
// TODO @moadz: Increased for testing, remove when load testing RHOBS-961 is completed
ingestor.Replicas = 3
ingestor.ContainerResources = k8sutil.NewResourcesRequirements("2", "4", "32Gi", "64Gi")
},
StorePreManifestsHook: func(store *store.StoreStatefulSet) {
store.VolumeSize = "5Gi"
Expand Down

0 comments on commit 1c6b825

Please sign in to comment.