Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdnc / components / sdnc-prom / values.yaml
1 # Copyright © 2018 Amdocs
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   persistence:
21     mountPath: /dockerdata-nfs
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26 # application image
27 pullPolicy: Always
28 image: onap/music/prom:1.0.5
29
30 # application configuration
31 config:
32   # generate aid from onboarding your app in MUSIC
33   aid: "aid_for_your_app"
34   deployment: "test_onap"
35   password: "onap123"
36   musicLocation:
37   - "1.2.3.4"
38   - "1.2.3.5"
39   - "1.2.3.6"
40   musicConnectionTimeoutMs: "1000"
41   promTimeout: "35000"
42   coreMonitorSleepTime: "15000"
43   noOfRetryAttempts: "2"
44   restartBackoffTime: "15000"
45   healthChecks:
46     # All top-level checks must pass
47     - "Health Check: SDNC - SDN Host"
48     - "Health Check: SDNC"
49     - "Health Check: SDNC ODL Cluster"
50     - "Health Check: SDNC Portal"
51     # Within nested lists, only one must pass
52     - - "Health Check: SDNC-SDN-CTL-DB-01"
53       - "Health Check: SDNC-SDN-CTL-DB-02"
54   messageRouterTopic: "SDNC-GEO-REDUNDANCY"
55
56 odl:
57   jolokia:
58     username: "admin"
59     password: "admin"
60   restconf:
61     username: "admin"
62     password: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
63
64 coreDNS:
65   host: 1.2.3.7
66   sshUser: root
67   sshKeyFile: /app/config/coredns/coredns.key
68   switchScript: /home/ubuntu/dnsSwitch.bash
69
70 nodeSelector: {}
71
72 affinity: {}
73
74 # probe configuration parameters
75 liveness:
76   initialDelaySeconds: 90
77   periodSeconds: 90
78   # necessary to disable liveness probe when setting breakpoints
79   # in debugger so K8s doesn't restart unresponsive container
80   enabled: true
81
82 readiness:
83   initialDelaySeconds: 10
84   periodSeconds: 10
85
86 persistence:
87   enabled: true
88   accessMode: ReadWriteOnce
89   size: 1Gi
90   mountPath: /dockerdata-nfs
91   mountSubPath: coredns
92
93 ingress:
94   enabled: false
95
96 resources:
97   small:
98     limits:
99       cpu: "1"
100       memory: "500Mi"
101     requests:
102       cpu: "0.5"
103       memory: "500Mi"
104   large:
105     limits:
106       cpu: "2"
107       memory: "1Gi"
108     requests:
109       cpu: "1"
110       memory: "1Gi"
111   unlimited: {}
112
113 #Pods Service Account
114 serviceAccount:
115   nameOverride: sdnc-prom
116   roles:
117     - read