Increase resources to Keystone

This will minimize aggressive autoscaling

Change-Id: Ic6317c231ffe4a42360d79002f2f9a08ad4fe54e
This commit is contained in:
Mohammed Naser 2020-05-04 19:50:28 -04:00
parent 55da5365fb
commit e50dc21a70
2 changed files with 4 additions and 3 deletions
openstack_operator/templates/keystone

@ -46,11 +46,11 @@ spec:
port: keystone
resources:
limits:
cpu: 1000m
cpu: 2000m
ephemeral-storage: 500M
memory: 1024M
requests:
cpu: 500m
cpu: 1000m
ephemeral-storage: 500M
memory: 128M
securityContext:
@ -64,6 +64,7 @@ spec:
hostPath:
path: {{ spec['configDir'] }}
type: Directory
terminationGracePeriodSeconds: 5
{% if 'nodeSelector' in spec %}
nodeSelector:
{{ spec.nodeSelector | to_yaml | indent(8) }}

@ -26,4 +26,4 @@ spec:
name: keystone-{{ name }}
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 50
targetCPUUtilizationPercentage: 90