-
Notifications
You must be signed in to change notification settings - Fork 0
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
Forsøk på å få færre restarter av app når skatt treffer oss #427
Conversation
@@ -25,7 +25,6 @@ spec: | |||
replicas: # Optional. Set min = max to disable autoscaling. | |||
min: 2 # minimum number of replicas. | |||
max: 2 # maximum number of replicas. | |||
cpuThresholdPercentage: 50 # total cpu percentage threshold on deployment, at which point it will increase number of pods if current < max |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deprecated
@@ -38,7 +37,6 @@ spec: | |||
enabled: false # Optional. When true, envoy-proxy sidecar will be injected into pod and https urls envvars will be rewritten | |||
resources: # Optional. See: http://kubernetes.io/docs/user-guide/compute-resources/ | |||
limits: | |||
cpu: 3000m # app will have its cpu usage throttled if exceeding this limit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anbefalning fra nais om å fjerne https://nav-it.slack.com/archives/C01DE3M9YBV/p1680172494569329
@@ -5,6 +5,9 @@ metadata: | |||
namespace: teamfamilie | |||
labels: | |||
team: teamfamilie | |||
annotations: | |||
nginx.ingress.kubernetes.io/proxy-read-timeout: "300" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Øker default time out
@@ -10,7 +10,7 @@ class WarmupCacheService(val barnetrygdService: BarnetrygdService) { | |||
|
|||
private val logger = LoggerFactory.getLogger(WarmupCacheService::class.java) | |||
|
|||
@Scheduled(fixedDelay = 24 * 60 * 60 * 1000, initialDelay = 3 * 60 * 1000) | |||
@Scheduled(fixedDelay = 24 * 60 * 60 * 1000, initialDelay = 10 * 60 * 1000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Venter 10 min ved oppstart for å varme opp cache, så at den ikke begynner med cacheoppvarming når poddene restarter midt i når skatt treffer oss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.