Merge "[COMMON] Improve mariadb-init job script"
[oom.git] / kubernetes / appc / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
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 flavor: small
32 # application image
33 repository: nexus3.onap.org:10001
34 image: onap/appc-image:1.6.4
35 pullPolicy: Always
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # application configuration
41 config:
42   odlUid: 100
43   odlGid: 101
44   ansibleServiceName: appc-ansible-server
45   ansiblePort: 8000
46   mariadbRootPassword: secretpassword
47   userName: my-user
48   userPassword: my-password
49   mysqlDatabase: my-database
50   mariadbGaleraSVCName: appc-dbhost
51   mariadbGaleraContName: appc-db
52   enableAAF: true
53   enableClustering: false
54   configDir: /opt/onap/appc/data/properties
55   dmaapTopic: SUCCESS
56   dmaapTopicEnv: AUTO
57   logstashServiceName: log-ls
58   logstashPort: 5044
59   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
60   openStackType: OpenStackProvider
61   openStackName: OpenStack
62   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
63   openStackServiceTenantName: default
64   openStackDomain: default
65   openStackUserName: admin
66   openStackEncryptedPassword: enc:LDEbHEAvTF1R
67   odlUser: admin
68   dmaapServiceUrl: http://localhost:8080/publish
69   dmaapServiceUser: appc
70   dmaapServicePassword: onapappc
71
72 appc-ansible-server:
73   service:
74     name: appc-ansible-server
75     internalPort: 8000
76   config:
77     mysqlServiceName: appc-dbhost
78
79 mariadb-galera:
80   nameOverride: appc-db
81   service:
82     name: appc-dbhost
83     portName: appc-dbhost
84   nfsprovisionerPrefix: appc
85   sdnctlPrefix: appc
86   persistence:
87     mountSubPath: appc/data
88     enabled: true
89   disableNfsProvisioner: true
90
91 dgbuilder:
92   nameOverride: appc-dgbuilder
93   config:
94     dbPodName: appc-db
95     dbServiceName: appc-dbhost
96   service:
97     name: appc-dgbuilder
98
99 #passing value to cdt chart. value of nodePort4 will be same as appc.service.nodePort4.
100 appc-cdt:
101   nodePort4: 11
102 # default number of instances
103 replicaCount: 1
104
105 nodeSelector: {}
106
107 affinity: {}
108
109 # probe configuration parameters
110 liveness:
111   initialDelaySeconds: 300
112   periodSeconds: 60
113   # necessary to disable liveness probe when setting breakpoints
114   # in debugger so K8s doesn't restart unresponsive container
115   enabled: true
116
117 readiness:
118   initialDelaySeconds: 300
119   periodSeconds: 60
120
121 service:
122   type: NodePort
123   name: appc
124   portName: appc
125
126   internalPort: 8181
127   externalPort: 8282
128   nodePort: "08"
129
130   internalPort2: 8443
131   externalPort2: 8443
132   nodePort2: 30
133
134   externalPort3: 1830
135   nodePort3: 31
136   clusterPort: 2550
137
138   internalPort4: 9191
139   externalPort4: 9090
140   nodePort4: 11
141
142 ## Persist data to a persitent volume
143 persistence:
144   enabled: true
145
146   ## A manually managed Persistent Volume and Claim
147   ## Requires persistence.enabled: true
148   ## If defined, PVC must be created manually before volume will be bound
149   # existingClaim:
150   volumeReclaimPolicy: Retain
151
152   ## database data Persistent Volume Storage Class
153   ## If defined, storageClassName: <storageClass>
154   ## If set to "-", storageClassName: "", which disables dynamic provisioning
155   ## If undefined (the default) or set to null, no storageClassName spec is
156   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
157   ##   GKE, AWS & OpenStack)
158   accessMode: ReadWriteOnce
159   size: 1Gi
160   mountPath: /dockerdata-nfs
161   mountSubPath: appc/mdsal
162   mdsalPath: /opt/opendaylight/current/daexim
163
164 ingress:
165   enabled: false
166   service:
167     - baseaddr: appc
168       name: "appc"
169       port: 8443
170   config:
171     ssl: "redirect"
172
173 # Configure resource requests and limits
174 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
175 resources:
176   small:
177     limits:
178       cpu: 2
179       memory: 4Gi
180     requests:
181       cpu: 1
182       memory: 2Gi
183   large:
184     limits:
185       cpu: 4
186       memory: 8Gi
187     requests:
188       cpu: 2
189       memory: 4Gi
190   unlimited: {}