blob: 9750efe265852b72298d2081d9927b709773385b [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002#
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.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
23 mariadbGalera:
24 nameOverride: mariadb-galera
25 serviceName: mariadb-galera
26 servicePort: "3306"
27 mariadbRootPassword: secretpassword
sarada prasad sahooae2c7342019-07-10 14:40:12 +053028 #This flag allows SO to instantiate its own mariadb-galera cluster,
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000029 #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled
30 localCluster: false
jmacc4f04d32018-10-12 18:24:24 +000031 persistence:
32 mountPath: /dockerdata-nfs
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000033 #This configuration will run the migration. The configurations are for backing up the data
34 #from DB and then restoring it to the present versions preferred DB.
35 migration:
36 enabled: false
37 dbHost: mariadb-galera
38 dbPort: 3306
39 dbUser: root
40 dbPassword: secretpassword
sarada prasad sahooae2c7342019-07-10 14:40:12 +053041
jmacc4f04d32018-10-12 18:24:24 +000042#################################################################
43# Application configuration defaults.
44#################################################################
Mike Elliottd32d36e2018-02-12 15:54:03 -050045repository: nexus3.onap.org:10001
seshukm1fc0a862019-08-31 11:28:03 +053046image: onap/so/api-handler-infra:1.5.1
jmacc4f04d32018-10-12 18:24:24 +000047pullPolicy: Always
48
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000049replicaCount: 1
50minReadySeconds: 10
51containerPort: 8080
52logPath: ./logs/apih/
53app: api-handler-infra
54service:
55 type: NodePort
Mandeep Khindadc2b43e2018-09-06 16:34:19 +000056 nodePort: 77
Brian Freeman1a667932018-09-06 14:45:37 -050057 internalPort: 8080
Mandeep Khindafe527eb2018-10-16 09:56:34 -040058 externalPort: 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000059 portName: so-apih-port
60updateStrategy:
61 type: RollingUpdate
62 maxUnavailable: 1
63 maxSurge: 1
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -040064# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +000065flavor: small
66# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000067resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000068 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000069 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000070 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000071 memory: 4Gi
72 requests:
73 cpu: 500m
74 memory: 1Gi
75 large:
76 limits:
77 cpu: 4000m
78 memory: 8Gi
79 requests:
80 cpu: 1000m
81 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +000082 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000083livenessProbe:
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +000084 path: /manage/health
85 scheme: HTTP
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000086 initialDelaySeconds: 600
87 periodSeconds: 60
88 timeoutSeconds: 10
89 successThreshold: 1
90 failureThreshold: 3
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000091
Mike Elliottd32d36e2018-02-12 15:54:03 -050092nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -050093affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000094
95#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
96#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
97# --set so.global.mariadbGalera.localCluster=true \
98# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
99# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
100mariadb-galera:
101 nameOverride: so-mariadb-galera
102 replicaCount: 1
103 service:
104 name: so-mariadb-galera
105 persistence:
106 mountSubPath: so/mariadb-galera/data
107 enabled: true