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