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