Skip to content

Commit

Permalink
remove cpu limits
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuste committed Oct 4, 2024
1 parent 71a6829 commit dcfef7a
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 103 deletions.
1 change: 0 additions & 1 deletion kubernetes/.charts/simple-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ replicas: 2
minAvailable: 1
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 50m
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/api-direkt-bahn-guru/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ spec:
- 'api.direkt.bahn.guru'
resources:
limits:
cpu: 1000m
memory: 1024Mi
requests:
cpu: 500m
cpu: 250m
memory: 256Mi
replicas: 4
minAvailable: 2
Expand Down
3 changes: 1 addition & 2 deletions kubernetes/apps/bahn-guru/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ spec:
- 'www.railway.guru'
resources:
limits:
cpu: 500m
memory: 1024Mi
requests:
cpu: 250m
cpu: 200m
memory: 512Mi
replicas: 4
minAvailable: 2
Expand Down
7 changes: 0 additions & 7 deletions kubernetes/apps/chore-score-bot/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,5 @@ spec:
hosts:
- 'chore-score-bot.juliustens.eu' # todo: remove this
replicas: 1
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
livenessProbe: false
startupProbe: false
10 changes: 0 additions & 10 deletions kubernetes/apps/db-rest/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ spec:
PORT: 3000
hosts:
- 'v5.db.api.bahn.guru'

# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi

replicas: 3

livenessProbe: false
startupProbe: false
7 changes: 0 additions & 7 deletions kubernetes/apps/european-transport-feeds-data/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,5 @@ spec:
PORT: 3000
hosts:
- 'data.public-transport.earth'
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
livenessProbe: false
startupProbe: false
7 changes: 0 additions & 7 deletions kubernetes/apps/european-transport-feeds-website/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,5 @@ spec:
PORT: 3000
hosts:
- 'eu.data.public-transport.earth'
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
# livenessProbe: false
# startupProbe: false
13 changes: 7 additions & 6 deletions kubernetes/apps/example-app/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ spec:
PORT: 3000
hosts: # [MODIFY] list your domain(s) here
- 'example.infra.public-transport.earth'
# [MODIFY] optional: comment out some of the settings below to change the default
# values for resource limits and liveness/startup probe HTTP paths there
# are even more options available, these are just not documented here to
# keep this file as short as possible. check
# /kubernetes/.charts/simple-app/values.yaml for a full list
# [MODIFY] optional: comment out some of the settings below to change the
# default values for resource limits and liveness/startup probe HTTP paths.
# there are even more options available, these are just not documented here
# to keep this file as short as possible. check
# /kubernetes/.charts/simple-app/values.yaml for a full list also note that
# setting resource limits for cpu usage is discouraged (just set some
# requests)
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
Expand Down
9 changes: 0 additions & 9 deletions kubernetes/apps/fptf-badges/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,5 @@ spec:
PORT: 3000
hosts:
- 'fptf.badges.juliustens.eu'

# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi

livenessProbe: false
startupProbe: false
9 changes: 0 additions & 9 deletions kubernetes/apps/fpti-js-badges/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,5 @@ spec:
PORT: 3000
hosts:
- 'fpti-js.badges.juliustens.eu'

# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi

livenessProbe: false
startupProbe: false
7 changes: 0 additions & 7 deletions kubernetes/apps/link-bahn-guru/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,5 @@ spec:
PORT: 3000
hosts:
- 'link.bahn.guru'
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
livenessProbe: false
startupProbe: false
7 changes: 3 additions & 4 deletions kubernetes/apps/lod-codefor-de-api/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ spec:
PORT: 8080
resources:
limits:
cpu: 1000m
memory: 2048Mi
memory: 1024Mi
requests:
cpu: 100m
memory: 512Mi
cpu: 200m
memory: 1024Mi
livenessProbe: false
startupProbe: false
7 changes: 0 additions & 7 deletions kubernetes/apps/lod-codefor-de-frontend/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,5 @@ spec:
SPARQL_ENDPOINT_URL: 'http://lod-codefor-de-api-service.lod-codefor-de-api:80/dataset/sparql'
hosts:
- 'lod.codefor.de'
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
livenessProbe: false
startupProbe: false
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,5 @@ spec:
PORT: 3000
hosts:
- 'de.data.public-transport.earth'
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
livenessProbe: false
startupProbe: false
7 changes: 0 additions & 7 deletions kubernetes/apps/travel-price-map-redirects/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,5 @@ spec:
- 'pricemap.eu'
- 'www.pricemap.eu'
- 'api.pricemap.eu'
# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi
livenessProbe: false
startupProbe: false
3 changes: 1 addition & 2 deletions kubernetes/apps/umami/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ spec:
- 'developer.bahn.guru'
resources:
limits:
cpu: 500m
memory: 512Mi
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
Expand Down
9 changes: 0 additions & 9 deletions kubernetes/apps/vbb-departure-hotline/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,5 @@ spec:
PORT: 3000
hosts:
- 'vbb-departure-hotline.juliustens.eu'

# resources:
# limits:
# cpu: 200m
# memory: 256Mi
# requests:
# cpu: 100m
# memory: 128Mi

livenessProbe: false
startupProbe: false

0 comments on commit dcfef7a

Please sign in to comment.