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

Tune resource requests and HPA configuration for all the services #566

Merged
merged 5 commits into from
Nov 15, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ pod:
cpu: "2000m"
notification:
requests:
memory: "128Mi"
memory: "256Mi"
cpu: "100m"
limits:
memory: "1024Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/glance/glance-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ pod:
enabled: false
api:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/heat/heat-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ pod:
memory: "4096Mi"
engine:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/keystone/keystone-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ pod:
enabled: false
api:
requests:
memory: "64Mi"
memory: "256Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/magnum/magnum-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ pod:
cpu: "2000m"
conductor:
requests:
memory: "128Mi"
memory: "512Mi"
cpu: "100m"
limits:
memory: "1024Mi"
Expand Down
4 changes: 2 additions & 2 deletions base-helm-configs/neutron/neutron-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ pod:
memory: "4096Mi"
ovn_metadata:
requests:
memory: "64Mi"
memory: "512Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down Expand Up @@ -805,7 +805,7 @@ pod:
memory: "4096Mi"
server:
requests:
memory: "64Mi"
memory: "1024Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
12 changes: 6 additions & 6 deletions base-helm-configs/nova/nova-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2353,8 +2353,8 @@ pod:
enabled: false
compute:
requests:
memory: "128Mi"
cpu: "100m"
memory: "512Mi"
cpu: "200m"
limits:
memory: "1024Mi"
cpu: "2000m"
Expand All @@ -2381,15 +2381,15 @@ pod:
cpu: "2000m"
conductor:
requests:
memory: "128Mi"
cpu: "100m"
memory: "256Mi"
cpu: "200m"
limits:
memory: "1024Mi"
cpu: "2000m"
scheduler:
requests:
memory: "128Mi"
cpu: "100m"
memory: "1024Mi"
cpu: "200m"
limits:
memory: "1024Mi"
cpu: "2000m"
Expand Down
4 changes: 2 additions & 2 deletions base-helm-configs/octavia/octavia-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -626,13 +626,13 @@ pod:
enabled: false
api:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
worker:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
2 changes: 1 addition & 1 deletion base-helm-configs/placement/placement-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ pod:
enabled: false
api:
requests:
memory: "64Mi"
memory: "128Mi"
cpu: "100m"
limits:
memory: "4096Mi"
Expand Down
4 changes: 2 additions & 2 deletions base-helm-configs/postgresql/postgresql-helm-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ pod:
enabled: false
server:
requests:
memory: "2048Mi"
memory: "1024Mi"
cpu: "100m"
limits:
memory: "1024Mi"
memory: "2048Mi"
cpu: "2000m"
test:
requests:
Expand Down
10 changes: 8 additions & 2 deletions base-kustomize/barbican/base/hpa-barbican-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ metadata:
name: barbican-api
namespace: openstack
spec:
maxReplicas: 3
minReplicas: 1
maxReplicas: 9
minReplicas: 3
metrics:
- resource:
name: cpu
target:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/cinder/base/hpa-cinder-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/cinder/base/hpa-cinder-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/designate/base/hpa-designate-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/glance/base/hpa-glance-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/gnocchi/base/hpa-gnocchi-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/heat/base/hpa-heat-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/heat/base/hpa-heat-cfn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/heat/base/hpa-heat-engine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/horizon/base/hpa-horizon-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/keystone/base/hpa-keystone-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/magnum/base/hpa-magnum-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
4 changes: 2 additions & 2 deletions base-kustomize/magnum/base/hpa-magnum-conductor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ spec:
- resource:
name: memory
target:
averageUtilization: 60
type: Utilization
type: AverageValue
averageValue: 1Gi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
Expand Down
8 changes: 7 additions & 1 deletion base-kustomize/neutron/base/hpa-neutron-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ spec:
- resource:
name: cpu
target:
averageUtilization: 50
averageUtilization: 70
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 2Gi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/nova/base/hpa-nova-api-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/nova/base/hpa-nova-api-osapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
8 changes: 7 additions & 1 deletion base-kustomize/nova/base/hpa-nova-conductor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ spec:
- resource:
name: cpu
target:
averageUtilization: 50
averageUtilization: 70
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 6 additions & 0 deletions base-kustomize/nova/base/hpa-nova-novncproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
averageUtilization: 50
type: Utilization
type: Resource
- resource:
name: memory
target:
type: AverageValue
averageValue: 500Mi
type: Resource
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
Expand Down
Loading
Loading