Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling up ingestors in app-sre-stage-01 for load testing RHOBS-961 #677

Merged
merged 1 commit into from
Feb 5, 2024
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 @@ -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
Loading