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