Merge "Add cadi.properties for AAF OOM support"
[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.4.1-SNAPSHOT-latest
35 pullPolicy: Always
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # application configuration
41 config:
42   ansibleServiceName: appc-ansible-server
43   ansiblePort: 8000
44   mariadbRootPassword: secretpassword
45   userName: my-user
46   userPassword: my-password
47   mysqlDatabase: my-database
48   mariadbGaleraSVCName: appc-dbhost
49   mariadbGaleraContName: appc-db
50   enableAAF: true
51   enableClustering: false
52   configDir: /opt/onap/appc/data/properties
53   dmaapTopic: SUCCESS
54   logstashServiceName: log-ls
55   logstashPort: 5044
56   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
57   openStackType: OpenStackProvider
58   openStackName: OpenStack
59   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
60   openStackServiceTenantName: default
61   openStackDomain: default
62   openStackUserName: admin
63   openStackEncryptedPassword: admin
64
65 appc-ansible-server:
66   service:
67     name: appc-ansible-server
68     internalPort: 8000
69   config:
70     mysqlServiceName: appc-dbhost
71
72 mariadb-galera:
73   nameOverride: appc-db
74   service:
75     name: appc-dbhost
76     portName: appc-dbhost
77   nfsprovisionerPrefix: appc
78   sdnctlPrefix: appc
79   persistence:
80     mountSubPath: appc/data
81     enabled: true
82   disableNfsProvisioner: true
83
84 dgbuilder:
85   nameOverride: appc-dgbuilder
86   config:
87     dbPodName: appc-db
88     dbServiceName: appc-dbhost
89   service:
90     name: appc-dgbuilder
91
92 #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
93 appc-cdt:
94   nodePort3: 11
95 # default number of instances
96 replicaCount: 1
97
98 nodeSelector: {}
99
100 affinity: {}
101
102 # probe configuration parameters
103 liveness:
104   initialDelaySeconds: 10
105   periodSeconds: 10
106   # necessary to disable liveness probe when setting breakpoints
107   # in debugger so K8s doesn't restart unresponsive container
108   enabled: true
109
110 readiness:
111   initialDelaySeconds: 10
112   periodSeconds: 10
113
114 service:
115   type: NodePort
116   name: appc
117   portName: appc
118   #targetPort
119   internalPort: 8181
120   #port
121   externalPort: 8282
122   nodePort: 30
123
124   externalPort2: 1830
125   nodePort2: 31
126   clusterPort: 2550
127
128   internalPort3: 9191
129   externalPort3: 9090
130   nodePort3: 11
131
132 ## Persist data to a persitent volume
133 persistence:
134   enabled: true
135
136   ## A manually managed Persistent Volume and Claim
137   ## Requires persistence.enabled: true
138   ## If defined, PVC must be created manually before volume will be bound
139   # existingClaim:
140   volumeReclaimPolicy: Retain
141
142   ## database data Persistent Volume Storage Class
143   ## If defined, storageClassName: <storageClass>
144   ## If set to "-", storageClassName: "", which disables dynamic provisioning
145   ## If undefined (the default) or set to null, no storageClassName spec is
146   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
147   ##   GKE, AWS & OpenStack)
148   accessMode: ReadWriteOnce
149   size: 1Gi
150   mountPath: /dockerdata-nfs
151   mountSubPath: appc/mdsal
152   mdsalPath: /opt/opendaylight/current/daexim
153
154 ingress:
155   enabled: false
156
157 # Configure resource requests and limits
158 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
159 resources:
160   small:
161     limits:
162       cpu: 2
163       memory: 4Gi
164     requests:
165       cpu: 1
166       memory: 2Gi
167   large:
168     limits:
169       cpu: 4
170       memory: 8Gi
171     requests:
172       cpu: 2
173       memory: 4Gi
174   unlimited: {}