Skip to content

Commit

Permalink
Limit rework (#5)
Browse files Browse the repository at this point in the history
* normalize all hpa for now

Signed-off-by: Kevin Carter <[email protected]>

* allow mariadb operator to run in an isolated namespace

Signed-off-by: Kevin Carter <[email protected]>

* remove cpu limits where applicable

docs https://home.robusta.dev/blog/stop-using-cpu-limits

CPU limits are largely not a good thing.

Signed-off-by: Kevin Carter <[email protected]>

---------

Signed-off-by: Kevin Carter <[email protected]>
  • Loading branch information
cloudnull authored Jan 5, 2024
1 parent 1835565 commit f07bdb0
Show file tree
Hide file tree
Showing 32 changed files with 47 additions and 200 deletions.
17 changes: 0 additions & 17 deletions helm-configs/cinder/cinder-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,120 +235,103 @@ jobs:
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
scheduler:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
volume:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
jobs:
volume_usage_audit:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
bootstrap:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
rabbit_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_drop:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
clean:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
backup_storage_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
storage_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_endpoints:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_service:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_user:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
tests:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
image_repo_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"

bootstrap:
enabled: true
Expand Down
13 changes: 0 additions & 13 deletions helm-configs/glance/glance-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -872,92 +872,79 @@ pod:
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
jobs:
storage_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
metadefs_load:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_drop:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_user:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_service:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_endpoints:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
rabbit_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
bootstrap:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
tests:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
image_repo_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"

# NOTE(helm_hook): helm_hook might break for helm2 binary.
# set helm3_hook: false when using the helm2 binary.
Expand Down
17 changes: 0 additions & 17 deletions helm-configs/heat/heat-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1091,120 +1091,103 @@ pod:
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
cfn:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
cloudwatch:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
engine:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
jobs:
bootstrap:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_drop:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_endpoints:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_service:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
ks_user:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
rabbit_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
tests:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
trusts:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
engine_cleaner:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
purge_deleted:
requests:
memory: "124Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
image_repo_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"

network_policy:
heat:
Expand Down
7 changes: 0 additions & 7 deletions helm-configs/horizon/horizon-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7085,44 +7085,37 @@ pod:
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
jobs:
db_init:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
db_drop:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
image_repo_sync:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"
tests:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "4096Mi"
cpu: "6000m"

# Names of secrets used by bootstrap and environmental checks
secrets:
identity:
Expand Down
Loading

0 comments on commit f07bdb0

Please sign in to comment.