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