blob: 9af34af88e55817128de243cb48b34229a9cf971 [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
rope252c5e14bb2020-01-02 11:03:59 +000041 msbEnabled: true
sarada prasad sahooae2c7342019-07-10 14:40:12 +053042
jmacc4f04d32018-10-12 18:24:24 +000043#################################################################
44# Application configuration defaults.
45#################################################################
Mike Elliottd32d36e2018-02-12 15:54:03 -050046repository: nexus3.onap.org:10001
seshukmfb56d712019-10-14 10:46:52 +053047image: onap/so/api-handler-infra:1.5.3
jmacc4f04d32018-10-12 18:24:24 +000048pullPolicy: Always
49
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000050replicaCount: 1
51minReadySeconds: 10
52containerPort: 8080
53logPath: ./logs/apih/
54app: api-handler-infra
55service:
56 type: NodePort
Mandeep Khindadc2b43e2018-09-06 16:34:19 +000057 nodePort: 77
Brian Freeman1a667932018-09-06 14:45:37 -050058 internalPort: 8080
Mandeep Khindafe527eb2018-10-16 09:56:34 -040059 externalPort: 8080
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000060 portName: so-apih-port
61updateStrategy:
62 type: RollingUpdate
63 maxUnavailable: 1
64 maxSurge: 1
Alexis de Talhouëta52efcc2018-09-18 16:46:12 -040065# Resource Limit flavor -By Default using small
vaibhav16dec0da88292018-08-13 06:10:27 +000066flavor: small
67# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000068resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000069 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000070 limits:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000071 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000072 memory: 4Gi
73 requests:
74 cpu: 500m
75 memory: 1Gi
76 large:
77 limits:
78 cpu: 4000m
79 memory: 8Gi
80 requests:
81 cpu: 1000m
82 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +000083 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000084livenessProbe:
Ramesh Parthasarathy1ceefda2018-09-14 21:22:43 +000085 path: /manage/health
86 scheme: HTTP
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000087 initialDelaySeconds: 600
88 periodSeconds: 60
89 timeoutSeconds: 10
90 successThreshold: 1
91 failureThreshold: 3
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000092
Mike Elliottd32d36e2018-02-12 15:54:03 -050093nodeSelector: {}
Brian Freeman1a667932018-09-06 14:45:37 -050094affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000095
96#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster
97#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \
98# --set so.global.mariadbGalera.localCluster=true \
99# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \
100# --set so.global.mariadbGalera.serviceName=so-mariadb-galera
101mariadb-galera:
102 nameOverride: so-mariadb-galera
103 replicaCount: 1
104 service:
105 name: so-mariadb-galera
106 persistence:
107 mountSubPath: so/mariadb-galera/data
108 enabled: true
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200109
110ingress:
111 enabled: false
112 service:
113 - baseaddr: "so"
114 name: "so"
115 port: 8080
116 config:
rope252c5e14bb2020-01-02 11:03:59 +0000117 ssl: "none"