a6d7efc62d32a2c869bbdb859effbf022b337400
[oom.git] / kubernetes / vnfsdk / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
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
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   repository: nexus3.onap.org:10001
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/vnfsdk/refrepo:1.3.0
32 postgresRepository: crunchydata
33 postgresImage: crunchy-postgres:centos7-10.3-1.8.2
34 pullPolicy: Always
35
36 # application configuration override for postgres
37 postgres:
38   nameOverride: vnfsdk-postgres
39   service:
40     name: vnfsdk-dbset
41     name2: vnfsdk-dbpri
42     name3: vnfsdk-dbrep
43   container:
44     name:
45       primary: vnfsdk-dbpri
46       replica: vnfsdk-dbrep
47   persistence:
48     mountSubPath: vnfsdk/data
49     mountInitPath: vnfsdk
50   config:
51     pgUserName: postgres
52     pgDatabase: postgres
53     pgPrimaryPassword: postgres
54     pgUserPassword: postgres
55     pgRootPassword: postgres
56   pgpool:
57     nameOverride: vnfsdk-pgpool
58     service:
59       name: vnfsdk-pgpool
60     credentials:
61       pgusername: postgres
62       pgpassword: postgres
63     container:
64       name:
65         primary: pgpool-primary
66         replica: pgpool-replica
67
68 # flag to enable debugging - application support required
69 debugEnabled: false
70
71 nodeSelector: {}
72
73 affinity: {}
74
75 # Resource Limit flavor -By Default using small
76 flavor: small
77 # Segregation for Different environment (Small and Large)
78 resources:
79   small:
80     limits:
81       cpu: 2000m
82       memory: 4Gi
83     requests:
84       cpu: 500m
85       memory: 1Gi
86   large:
87     limits:
88       cpu: 4000m
89       memory: 8Gi
90     requests:
91       cpu: 1000m
92       memory: 2Gi
93   unlimited: {}
94
95 # probe configuration parameters
96 liveness:
97   initialDelaySeconds: 10
98   periodSeconds: 10
99   # necessary to disable liveness probe when setting breakpoints
100   # in debugger so K8s doesn't restart unresponsive container
101   enabled: true
102
103 readiness:
104   initialDelaySeconds: 10
105   periodSeconds: 10
106
107 service:
108   type: NodePort
109   name: refrepo
110   portName: refrepo
111   nodePort: 97
112   internalPort: 8702
113
114 ingress:
115   enabled: false