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

chore: changed scalingStrategy and number of replicas #314

Merged
merged 1 commit into from
Nov 8, 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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ val commonsCompressVersion = "1.27.1"
plugins {
id("application")
kotlin("jvm") version "2.0.21"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("com.gradleup.shadow") version "8.3.3"
id("com.diffplug.spotless") version "6.25.0"
}

Expand Down
11 changes: 7 additions & 4 deletions naiserator-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ spec:
image: {{ image }}
replicas:
min: 1
max: 1
cpuThresholdPercentage: 90
max: 2
scalingStrategy:
kafka:
consumerGroup: syfosmpapirmottak-consumer
threshold: 300
topic: teamdokumenthandtering.aapen-dok-journalfoering-q1
port: 8080
liveness:
path: /internal/is_alive
Expand All @@ -36,11 +40,10 @@ spec:
- id: elastic
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 100m
memory: 512Mi
memory: 256Mi
kafka:
pool: nav-dev
azure:
Expand Down
15 changes: 9 additions & 6 deletions naiserator-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ metadata:
spec:
image: {{ image }}
replicas:
min: 1
max: 1
cpuThresholdPercentage: 90
min: 2
max: 6
scalingStrategy:
kafka:
consumerGroup: syfosmpapirmottak-consumer
threshold: 300
topic: teamdokumenthandtering.aapen-dok-journalfoering
port: 8080
liveness:
path: /internal/is_alive
Expand All @@ -36,11 +40,10 @@ spec:
- id: elastic
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 250m
memory: 512Mi
cpu: 100m
memory: 256Mi
kafka:
pool: nav-prod
azure:
Expand Down
Loading