Merge "Resource Limits for sdc"
[oom.git] / kubernetes / so / charts / so-catalog-db-adapter / values.yaml
1 # Copyright © 2018 AT&T USA\r
2 #\r
3 # Licensed under the Apache License, Version 2.0 (the "License");\r
4 # you may not use this file except in compliance with the License.\r
5 # You may obtain a copy of the License at\r
6 #\r
7 #       http://www.apache.org/licenses/LICENSE-2.0\r
8 #\r
9 # Unless required by applicable law or agreed to in writing, software\r
10 # distributed under the License is distributed on an "AS IS" BASIS,\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
12 # See the License for the specific language governing permissions and\r
13 # limitations under the License.\r
14 repository: nexus3.onap.org:10001\r
15 image: onap/so/catalog-db-adapter:1.3.0-STAGING-latest
16 pullPolicy: IfNotPresent\r
17 replicaCount: 1\r
18 minReadySeconds: 10\r
19 containerPort: 8082\r
20 logPath: ./logs/catdb/\r
21 app: catalog-db-adapter\r
22 service:\r
23     type: ClusterIP\r
24     internalPort: 8082\r
25     externalPort: 8082\r
26     portName: so-catdb-port\r
27 updateStrategy:\r
28     type: RollingUpdate\r
29     maxUnavailable: 1\r
30     maxSurge: 1\r
31 # Resource Limit flavor -By Default using small\r
32 flavor: small\r
33 # Segregation for Different environment (Small and Large)\r
34 resources:\r
35   small:\r
36     limits:\r
37       memory: 4Gi\r
38       cpu: 2000m\r
39     requests:\r
40       memory: 1Gi\r
41       cpu: 500m\r
42   large:\r
43     limits:\r
44       memory: 8Gi\r
45       cpu: 4000m\r
46     requests:\r
47       memory: 2Gi\r
48       cpu: 1000m\r
49 livenessProbe:\r
50     path: /manage/health\r
51     port: 8082\r
52     scheme: HTTP\r
53     initialDelaySeconds: 600\r
54     periodSeconds: 60\r
55     timeoutSeconds: 10\r
56     successThreshold: 1\r
57     failureThreshold: 3\r
58 ingress:\r
59   enabled: false\r
60 nodeSelector: {}\r
61 tolerations: []\r
62 affinity: {}\r