Skip to content

Commit

Permalink
Rydder opp java opts som ligger i baseimage. Ny felles. (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek authored Dec 12, 2023
1 parent 096a44a commit 160fcf7
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 9 deletions.
8 changes: 8 additions & 0 deletions .deploy/dev-fss-teamforeldrepenger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
],
"minReplica": "2",
"maxReplica": "2",
"limits": {
"cpu": "1",
"mem": "2048Mi"
},
"requests": {
"cpu": "200m",
"mem": "1024Mi"
},
"env": {
"APPD_ENABLED": "false"
},
Expand Down
8 changes: 4 additions & 4 deletions .deploy/naiserator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ spec:
thresholdPercentage: 80
resources:
limits:
cpu: 2000m
memory: 2560Mi
cpu: "{{limits.cpu}}"
memory: "{{limits.mem}}"
requests:
cpu: 500m
memory: 1536Mi
cpu: "{{requests.cpu}}"
memory: "{{requests.mem}}"
kafka:
pool: {{kafkaPool}}
vault:
Expand Down
8 changes: 8 additions & 0 deletions .deploy/prod-fss-teamforeldrepenger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
],
"minReplica": "2",
"maxReplica": "3",
"limits": {
"cpu": "2",
"mem": "3072Mi"
},
"requests": {
"cpu": "500m",
"mem": "1536Mi"
},
"env": {
"APPD_ENABLED": "true"
},
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Dependency Submission
on:
push:
branches:
- master
paths:
- "pom.xml"
- "**/pom.xml"
workflow_dispatch:

jobs:
deps:
permissions:
contents: write
uses: navikt/fp-gha-workflows/.github/workflows/mvn-dependency-submission.yml@main
secrets: inherit
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ ENV TZ=Europe/Oslo
RUN mkdir lib
RUN mkdir conf

ENV JAVA_OPTS="-XX:MaxRAMPercentage=75 \
-XX:+PrintCommandLineFlags \
-Djava.security.egd=file:/dev/urandom \
-Duser.timezone=Europe/Oslo \
ENV JAVA_OPTS="-Djava.security.egd=file:/dev/urandom \
-Dlogback.configurationFile=conf/logback.xml"

# Config
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<sonar.projectKey>navikt_fplos</sonar.projectKey>

<fp-kontrakter.version>9.0.2</fp-kontrakter.version>
<felles.version>7.0.2</felles.version>
<felles.version>7.0.3</felles.version>
<prosesstask.version>5.0.2</prosesstask.version>
</properties>

Expand Down

0 comments on commit 160fcf7

Please sign in to comment.