diff options
author | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-09-19 02:36:17 +0000 |
---|---|---|
committer | vaibhav_16dec <vaibhav.chopra@amdocs.com> | 2018-09-19 02:41:22 +0000 |
commit | 1aa60a8f44ddec22038291e672e76551dde26d49 (patch) | |
tree | db5d21d486c19ba27d7b15bfd26c769bd83fb51a /kubernetes/robot/values.yaml | |
parent | c196546bae5346d162b3fb20de96d9df8fe260ca (diff) |
Resource Limit enablement in Robot
Issue-ID: OOM-1160
Change-Id: I3e76e18c968ebbb8d5e472419346a32d579eb199
Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
Diffstat (limited to 'kubernetes/robot/values.yaml')
-rwxr-xr-x | kubernetes/robot/values.yaml | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/kubernetes/robot/values.yaml b/kubernetes/robot/values.yaml index 2951b6098b..146c0be941 100755 --- a/kubernetes/robot/values.yaml +++ b/kubernetes/robot/values.yaml @@ -84,6 +84,25 @@ nodeSelector: {} affinity: {} +# Resource Limit flavor -By Default using small +flavor: small +# Segregation for Different environment (Small and Large) +resources: + small: + limits: + cpu: 2000m + memory: 4Gi + requests: + cpu: 500m + memory: 1Gi + large: + limits: + cpu: 4000m + memory: 8Gi + requests: + cpu: 1000m + memory: 2Gi + # probe configuration parameters liveness: initialDelaySeconds: 10 @@ -96,7 +115,6 @@ readiness: initialDelaySeconds: 10 periodSeconds: 10 - service: name: robot type: NodePort @@ -105,30 +123,9 @@ service: internalPort: 88 nodePort: "09" - ingress: enabled: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # - # Example: - # Configure resource requests and limits - # ref: http://kubernetes.io/docs/user-guide/compute-resources/ - # Minimum memory for development is 2 CPU cores and 4GB memory - # Minimum memory for production is 4 CPU cores and 8GB memory -#resources: -# limits: -# cpu: 2 -# memory: 4Gi -# requests: -# cpu: 2 -# memory: 4Gi - ## Persist data to a persitent volume persistence: enabled: true |