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

Slettet ingress og ubrukte inbound policies, senkt resource request og limit Max bruk siste 3 månaderne er 28% av 3gb #114

Merged
merged 1 commit into from
Dec 13, 2023
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
4 changes: 0 additions & 4 deletions nais/dev-gcp.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{
"app": "k9-brukerdialog-cache",
"cluster": "dev-gcp",
"nonProd": "true",
"namespace": "dusseldorf",
"team": "dusseldorf",
"minReplicas": "2",
"maxReplicas": "2",
"ingresses": [
"https://k9-brukerdialog-cache.intern.dev.nav.no"
],
"externalHosts": [
"login.microsoftonline.com"
],
Expand Down
13 changes: 2 additions & 11 deletions nais/naiserator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ spec:
accessPolicy:
inbound:
rules:
- application: pleiepengesoknad-api
- application: k9-brukerdialog-api
{{#if nonProd}}
- application: debug-dings
namespace: plattformsikkerhet
{{/if}}
outbound:
external:
{{#each externalHosts as |host|}}
Expand All @@ -42,14 +37,10 @@ spec:
resources:
limits:
cpu: 2000m
memory: 3072Mi
memory: 2048Mi
requests:
cpu: 80m
memory: 1536Mi
ingresses:
{{#each ingresses as |url|}}
- {{url}}
{{/each}}
memory: 768Mi
replicas:
min: {{minReplicas}}
max: {{maxReplicas}}
Expand Down
1 change: 0 additions & 1 deletion nais/prod-gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"team": "dusseldorf",
"minReplicas": "2",
"maxReplicas": "2",
"ingresses": [],
"externalHosts": [
"login.microsoftonline.com"
],
Expand Down
Loading