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

View File

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

View File

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