Merge "Preload Guard Policies"
[oom.git] / kubernetes / sdnc / 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   nodePortPrefixExt: 304
21   repository: nexus3.onap.org:10001
22   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.0
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   persistence:
27     mountPath: /dockerdata-nfs
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 # application images
33 repository: nexus3.onap.org:10001
34 pullPolicy: Always
35 image: onap/sdnc-image:1.4-STAGING-latest
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # application configuration
41 config:
42   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
43   dbRootPassword: openECOMP1.0
44   dbSdnctlPassword: gamma
45   enableClustering: true
46   binDir: /opt/onap/sdnc/bin
47   geoEnabled: false
48 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
49 # if geoEnabled is set to true the following 3 values must be set to their proper values
50   myODLCluster: 127.0.0.1
51   peerODLCluster: 127.0.0.1
52   isPrimaryCluster: true
53   configDir: /opt/onap/sdnc/data/properties
54   dmaapTopic: SUCCESS
55   dmaapPort: 3904
56   logstashServiceName: log-ls
57   logstashPort: 5044
58   ansibleServiceName: sdnc-ansible-server
59   ansiblePort: 8000
60
61 # dependency / sub-chart configuration
62 dmaap-listener:
63   nameOverride: sdnc-dmaap-listener
64   config:
65     sdncChartName: sdnc
66     mysqlChartName: sdnc-db
67     dmaapPort: 3904
68     sdncPort: 8282
69     configDir: /opt/onap/sdnc/data/properties
70     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
71
72 ueb-listener:
73   nameOverride: sdnc-ueb-listener
74   config:
75     sdncPort: 8282
76     sdncChartName: sdnc
77     mysqlChartName: sdnc-db
78     configDir: /opt/onap/sdnc/data/properties
79     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
80
81 sdnc-portal:
82   config:
83     sdncChartName: sdnc
84     mysqlChartName: sdnc-db
85     configDir: /opt/onap/sdnc/data/properties
86     dbRootPassword: openECOMP1.0
87     dbSdnctlPassword: gamma
88     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
89
90 sdnc-ansible-server:
91   service:
92     name: sdnc-ansible-server
93     internalPort: 8000
94   config:
95     mysqlServiceName: sdnc-dbhost
96
97 mysql:
98   nameOverride: sdnc-db
99   service:
100     name: sdnc-dbhost
101     internalPort: 3306
102   nfsprovisionerPrefix: sdnc
103   sdnctlPrefix: sdnc
104   persistence:
105     mountSubPath: sdnc/mysql
106     enabled: true
107   disableNfsProvisioner: true
108   replicaCount: 1
109   geoEnabled: false
110
111 dgbuilder:
112   nameOverride: sdnc-dgbuilder
113   config:
114     dbPodName: sdnc-db
115     dbServiceName: sdnc-dbhost
116     dbRootPassword: openECOMP1.0
117     dbSdnctlPassword: gamma
118     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
119   service:
120     name: sdnc-dgbuilder
121     nodePort: "03"
122
123 # default number of instances
124 replicaCount: 1
125
126 nodeSelector: {}
127
128 affinity: {}
129
130 # probe configuration parameters
131 liveness:
132   initialDelaySeconds: 10
133   periodSeconds: 10
134   # necessary to disable liveness probe when setting breakpoints
135   # in debugger so K8s doesn't restart unresponsive container
136   enabled: true
137
138 readiness:
139   initialDelaySeconds: 10
140   periodSeconds: 10
141
142 service:
143   type: NodePort
144   name: sdnc
145   portName: sdnc
146   internalPort: 8181
147   internalPort2: 8101
148   internalPort3: 8080
149   internalPort4: 2550
150
151   #port
152   externalPort: 8282
153   nodePort: "02"
154
155   externalPort2: 8202
156   nodePort2: "08"
157
158   externalPort3: 8280
159   nodePort3: 46
160
161   externalPort4: 8443
162   nodePort4: 67
163
164   clusterPort: 2550
165   clusterPort2: 2650
166   clusterPort3: 2681
167
168   geoNodePort1: 61
169   geoNodePort2: 62
170   geoNodePort3: 63
171   geoNodePort4: 64
172   geoNodePort5: 65
173   geoNodePort6: 66
174
175 ## Persist data to a persitent volume
176 persistence:
177   enabled: true
178
179   ## A manually managed Persistent Volume and Claim
180   ## Requires persistence.enabled: true
181   ## If defined, PVC must be created manually before volume will be bound
182   # existingClaim:
183   volumeReclaimPolicy: Retain
184
185   ## database data Persistent Volume Storage Class
186   ## If defined, storageClassName: <storageClass>
187   ## If set to "-", storageClassName: "", which disables dynamic provisioning
188   ## If undefined (the default) or set to null, no storageClassName spec is
189   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
190   ##   GKE, AWS & OpenStack)
191   accessMode: ReadWriteOnce
192   size: 1Gi
193   mountPath: /dockerdata-nfs
194   mountSubPath: sdnc/mdsal
195   mdsalPath: /opt/opendaylight/current/daexim
196
197 ingress:
198   enabled: false
199
200 #Resource Limit flavor -By Default using small
201 flavor: small
202 #segregation for different envionment (Small and Large)
203
204 resources:
205   small:
206     limits:
207       cpu: 2
208       memory: 4Gi
209     requests:
210       cpu: 1
211       memory: 2Gi
212   large:
213     limits:
214       cpu: 4
215       memory: 8Gi
216     requests:
217       cpu: 2
218       memory: 4Gi