f904b4cece0852a5ba8b3961473265c64f542a9e
[oom.git] / kubernetes / nbi / values.yaml
1 # Copyright © 2018 Orange
2 # Modifications Copyright © 2018  Amdocs, Bell Canada
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:1.1.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 subChartsOnly:
27   enabled: true
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/externalapi/nbi:3.0.0-latest
32 pullPolicy: Always
33 sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
34 aai_authorization: Basic QUFJOkFBSQ==
35 so_authorization:
36
37 # application configuration
38 config:
39   loglevel: INFO
40   logstashServiceName: log-ls
41   logstashPort: 5044
42   cloudOwner: CloudOwner
43   ecompInstanceId: OOM
44   openStackRegion: RegionOne
45   openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
46
47 mariadb:
48   nameOverride: nbi-mariadb
49   service:
50     name: nbi-mariadbhost
51     internalPort: 3306
52   config:
53     db:
54       database: nbi
55       user: rene
56       password: lkjgklqsdareyhjujlnnbvfvdttuiukgpiokqbfsjdhfigquosegombvjfqhb
57       root_password: dhqjdshjdsguryebvcnbvcvdsqghyjqgktgjjfhjfghbfs
58   persistence:
59     mountSubPath: nbi/maria/data
60     enabled: true
61   disableNfsProvisioner: true
62
63 mongo:
64   nameOverride: nbi-mongo
65   config:
66     dbName: ServiceOrderDB
67   service:
68     name: nbi-mongohost
69     internalPort: 27017
70   nfsprovisionerPrefix: nbi
71   sdnctlPrefix: nbi
72   persistence:
73     mountSubPath: nbi/mongo/data
74     enabled: true
75   disableNfsProvisioner: true
76
77
78 # default number of instances
79 replicaCount: 1
80
81 nodeSelector: {}
82
83 affinity: {}
84
85 # probe configuration parameters
86 liveness:
87   httpGet:
88     path: /nbi/api/v3/status
89     port: 8080
90   initialDelaySeconds: 120
91   periodSeconds: 20
92   # necessary to disable liveness probe when setting breakpoints
93   # in debugger so K8s doesn't restart unresponsive container
94   enabled: true
95
96 readiness:
97   httpGet:
98     path: /nbi/api/v3/status
99     port: 8080
100   initialDelaySeconds: 125
101   periodSeconds: 20
102
103 service:
104   type: NodePort
105   portName: api
106   name: nbi
107   nodePort: 74
108   internalPort: 8080
109
110 ingress:
111   enabled: false
112 # Resource Limit flavor -By Default using small
113 flavor: small
114 # Segregation for Different environment (Small and Large)
115 resources:
116   small:
117     limits:
118       cpu: 1
119       memory: 2Gi
120     requests:
121       cpu: 100m
122       memory: 1Gi
123   large:
124     limits:
125       cpu: 2
126       memory: 4Gi
127     requests:
128       cpu: 200m
129       memory: 2Gi
130   unlimited: {}