Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / dmaap / components / dmaap-dr-node / 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   persistence: {}
20   dmaapDrProvName: dmaap-dr-prov
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/dmaap/datarouter-node:2.1.15
27 pullPolicy: Always
28
29 # default number of instances
30 replicaCount: 1
31
32 nodeSelector: {}
33
34 affinity: {}
35
36 # application configuration - see parent values chart
37 # dr uses the EELF Logging framework https://github.com/att/EELF
38 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
39 logLevel: "DEBUG"
40
41 containerPort: &svc_port 8080
42
43 service:
44   type: ClusterIP
45   name: dmaap-dr-node
46   ports:
47     - name: http
48       port: *svc_port
49
50 ingress:
51   enabled: false
52   service:
53     - baseaddr: "dmaap-dr-node-api"
54       name: "dmaap-dr-node"
55       port: *svc_port
56   config:
57     ssl: "redirect"
58
59 # probe configuration parameters
60 liveness:
61   initialDelaySeconds: 30
62   periodSeconds: 10
63   # necessary to disable liveness probe when setting breakpoints
64   # in debugger so K8s doesn't restart unresponsive container
65   enabled: true
66   port: *svc_port
67
68 readiness:
69   initialDelaySeconds: 30
70   periodSeconds: 10
71   port: *svc_port
72
73 ## Persist data to a persistent volume
74 persistence:
75   enabled: true
76   mountPath: /dockerdata-nfs
77   spool:
78     enabled: true
79     volumeReclaimPolicy: Retain
80     accessMode: ReadWriteOnce
81     mountSubPath: data-router/dr-node/spool-data
82     size: 2Gi
83     path: /opt/app/datartr/spool
84     labels:
85       app.kubernetes.io/component: spool
86
87   event:
88     enabled: true
89     volumeReclaimPolicy: Retain
90     accessMode: ReadWriteOnce
91     mountSubPath: data-router/dr-node/event-logs
92     path: /opt/app/datartr/logs
93     size: 2Gi
94     labels:
95       app.kubernetes.io/component: event-logs
96
97 # Resource Limit flavor -By Default using small
98 flavor: small
99
100 # Segregation for Different environment (Small and Large)
101 resources:
102   small:
103     limits:
104       cpu: "1"
105       memory: "1Gi"
106     requests:
107       cpu: "0.5"
108       memory: "1Gi"
109   large:
110     limits:
111       cpu: "2"
112       memory: "2Gi"
113     requests:
114       cpu: "1"
115       memory: "2Gi"
116   unlimited: {}
117
118 #Pods Service Account
119 serviceAccount:
120   nameOverride: dmaap-dr-node
121   roles:
122     - read
123
124 securityContext:
125   user_id: 1000
126   group_id: 1000
127
128 readinessCheck:
129   wait_for:
130     services:
131       - dmaap-dr-prov