Skip to content

Commit

Permalink
justerer opp antall poder og enabler appdynamics (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnarland authored Dec 20, 2023
1 parent 73c2b35 commit 88e8acc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM ghcr.io/navikt/baseimages/temurin:17
FROM ghcr.io/navikt/baseimages/temurin:17-appdynamics

ENV APPD_ENABLED=true
ENV APP_NAME=familie-ba-infotrygd

COPY init.sh /init-scripts/init.sh

Expand Down
4 changes: 2 additions & 2 deletions nais/prod-fss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
initialDelay: 120
timeout: 1
replicas: # Optional. Set min = max to disable autoscaling.
min: 2 # minimum number of replicas.
max: 2 # maximum number of replicas.
min: 4 # minimum number of replicas.
max: 6 # maximum number of replicas.
leaderElection: true # Optional. If true, a http endpoint will be available at $ELECTOR_PATH that return the current leader
# Compare this value with the $HOSTNAME to see if the current instance is the leader
preStopHookPath: "" # Optional. A HTTP GET will be issued to this endpoint at least once before the pod is terminated.
Expand Down

0 comments on commit 88e8acc

Please sign in to comment.