blob: 9f50620ab629e12cc27f2ba1e922fc869e306720 [file] [log] [blame]
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02001# Copyright © 2018 Orange
Prateekinlinux445a18e2018-08-01 06:48:33 +00002# Modifications Copyright © 2018 Amdocs, Bell Canada
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +02003#
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#################################################################
19global:
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
26subChartsOnly:
27 enabled: true
28
29# application image
30repository: nexus3.onap.org:10001
Sylvain Desbureauxe66ebff2019-03-15 09:14:33 +010031image: onap/externalapi/nbi:3.0.2
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020032pullPolicy: Always
33sdc_authorization: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=
34aai_authorization: Basic QUFJOkFBSQ==
35so_authorization:
36
37# application configuration
38config:
39 loglevel: INFO
40 logstashServiceName: log-ls
41 logstashPort: 5044
42 cloudOwner: CloudOwner
43 ecompInstanceId: OOM
44 openStackRegion: RegionOne
Sylvain Desbureaux33f83672018-06-01 14:28:39 +020045 openStackVNFTenantId: 31047205ce114b60833b23e400d6a535
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020046
47mariadb:
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
63mongo:
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
79replicaCount: 1
80
81nodeSelector: {}
82
83affinity: {}
84
85# probe configuration parameters
86liveness:
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +020087 httpGet:
MatthieuGeerebaert33be15d2019-04-04 11:20:34 +020088 path: /nbi/api/v4/status
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +020089 port: 8080
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +020090 initialDelaySeconds: 180
91 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +020092 # necessary to disable liveness probe when setting breakpoints
93 # in debugger so K8s doesn't restart unresponsive container
94 enabled: true
95
96readiness:
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +020097 httpGet:
MatthieuGeerebaert33be15d2019-04-04 11:20:34 +020098 path: /nbi/api/v4/status
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +020099 port: 8080
MatthieuGeerebaert89e3dc82018-10-08 14:02:08 +0200100 initialDelaySeconds: 185
101 periodSeconds: 30
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200102
103service:
104 type: NodePort
105 portName: api
106 name: nbi
Mandeep Khinda9ef4d432018-05-17 20:16:06 +0000107 nodePort: 74
Sylvain Desbureauxe44d1702018-05-07 20:39:16 +0200108 internalPort: 8080
109
110ingress:
111 enabled: false
Mandeep Khindade045712018-09-19 18:11:57 +0000112# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +0000113flavor: small
114# Segregation for Different environment (Small and Large)
Eric Debeau33774ef2018-09-11 12:23:07 +0000115resources:
vaibhavjayas659fbae2018-09-19 08:58:10 +0000116 small:
117 limits:
Mandeep Khindade045712018-09-19 18:11:57 +0000118 cpu: 1
119 memory: 2Gi
120 requests:
121 cpu: 100m
122 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +0000123 large:
124 limits:
125 cpu: 2
126 memory: 4Gi
127 requests:
128 cpu: 200m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000129 memory: 2Gi
MatthieuGeerebaerta3adffd2018-10-05 14:52:50 +0200130 unlimited: {}