blob: bd68f9aaec2bdea6517f4549df43014d16b2dbb0 [file] [log] [blame]
Mandeep Khinda1d123882018-03-27 01:26:59 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T
Mandeep Khinda1d123882018-03-27 01:26:59 +00003#
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# Default values for mariadb.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
Mandeep Khinda1d123882018-03-27 01:26:59 +000021 persistence: {}
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040022 readinessRepository: oomk8s
Mandeep Khinda1d123882018-03-27 01:26:59 +000023
24
25# application image
26repository: nexus3.onap.org:10001
Alexis de Talhouët697e9962018-09-19 11:58:29 -040027image: onap/portal-db:2.3.0-STAGING-latest
Mandeep Khinda1d123882018-03-27 01:26:59 +000028pullPolicy: Always
29
Gary Wubf4b4d82018-05-11 13:26:30 -070030readinessImage: readiness-check:2.0.0
Mandeep Khinda06ad9b72018-04-10 21:35:54 -040031mariadbInitImage: "mariadb-client-init:2.0.0"
Mandeep Khinda1db773e2018-04-05 18:26:07 +000032
Mandeep Khinda1d123882018-03-27 01:26:59 +000033# application configuration
34config:
Mandeep Khinda1db773e2018-04-05 18:26:07 +000035 mariadbUser: root
Mandeep Khinda1d123882018-03-27 01:26:59 +000036 mariadbRootPassword: Aa123456
Mandeep Khinda1db773e2018-04-05 18:26:07 +000037 #The directory where sql files are found in the projects gerrit repo.
38 sqlSourceDirectory: portal/deliveries
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000039 # sdc frontend assignment for port 8181
40 sdcFePort: "30206"
41 # application's front end hostname. Must be resolvable on the client side environment
42 sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
43 # policy pap ui assignment for port 8443
44 papPort: "30219"
45 # application's front end hostname. Must be resolvable on the client side environment
46 papHostName: "policy.api.simpledemo.onap.org"
Piotr Daroszaca7aa52018-08-29 14:27:02 +020047 # vid ui assignment for port 8443
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000048 vidPort: "30200"
49 # application's front end hostname. Must be resolvable on the client side environment
50 vidHostName: "vid.api.simpledemo.onap.org"
51 # aai sparky ui assignment for port 8080
Arul.Nambi89c02792018-06-20 11:40:17 -040052 aaiSparkyPort: "30220"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000053 # application's front end hostname. Must be resolvable on the client side environment
54 aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org"
55 # cli ui assignment for port 8080
56 cliPort: "30260"
57 # application's front end hostname. Must be resolvable on the client side environment
58 cliHostName: "cli.api.simpledemo.onap.org"
59 # portal sdk (demo app) ui assignment for port 8990
BorislavGcdbd3ab2018-07-17 08:42:23 +000060 portalSdkPort: "30212"
Mandeep Khinda789ee4a2018-04-30 20:20:45 +000061 # application's front end hostname. Must be resolvable on the client side environment
62 portalSdkHostName: "portal-sdk.simpledemo.onap.org"
63 # dmaap bus controller ui assignment for port ?
64 dmaapBcPort: "" # TODO: populate with
65 # application's front end hostname. Must be resolvable on the client side environment
66 dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
67 # msb discovery ui assignment for port ?
68 msbDiscoveryPort: "30281"
69 # application's front end hostname. Must be resolvable on the client side environment
70 msbDiscoveryHostName: "msb.api.discovery.simpledemo.onap.org"
Mandeep Khinda1d123882018-03-27 01:26:59 +000071
72# default number of instances
73replicaCount: 1
74
75nodeSelector: {}
76
77affinity: {}
78
79# probe configuration parameters
80liveness:
Gary Wud3316b22018-05-17 11:57:51 -070081 initialDelaySeconds: 450
Mandeep Khinda1d123882018-03-27 01:26:59 +000082 periodSeconds: 10
83 # necessary to disable liveness probe when setting breakpoints
84 # in debugger so K8s doesn't restart unresponsive container
85 enabled: true
86
87readiness:
Gary Wud3316b22018-05-17 11:57:51 -070088 initialDelaySeconds: 450
Mandeep Khinda1d123882018-03-27 01:26:59 +000089 periodSeconds: 10
90
91## Persist data to a persitent volume
92persistence:
93 enabled: true
94
95 ## A manually managed Persistent Volume and Claim
96 ## Requires persistence.enabled: true
97 ## If defined, PVC must be created manually before volume will be bound
98 # existingClaim:
99 volumeReclaimPolicy: Retain
100
101 ## database data Persistent Volume Storage Class
102 ## If defined, storageClassName: <storageClass>
103 ## If set to "-", storageClassName: "", which disables dynamic provisioning
104 ## If undefined (the default) or set to null, no storageClassName spec is
105 ## set, choosing the default provisioner. (gp2 on AWS, standard on
106 ## GKE, AWS & OpenStack)
107 ##
108 # storageClass: "-"
109 accessMode: ReadWriteMany
110 size: 2Gi
111 mountPath: /dockerdata-nfs
112 mountSubPath: portal/mariadb/data
113
114service:
115 type: ClusterIP
BorislavG1ffbd992018-04-24 07:56:27 +0000116 name: portal-db
117 portName: portal-db
Mandeep Khinda1d123882018-03-27 01:26:59 +0000118 externalPort: 3306
119 internalPort: 3306
120
121ingress:
122 enabled: false
123
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000124# Resource Limit flavor -By Default using small
Nishukumar75d48b92018-09-19 12:11:51 +0000125flavor: small
126# Segregation for Different environment (Small and Large)
127resources:
128 small:
129 limits:
130 cpu: 800m
131 memory: 1Gi
132 requests:
133 cpu: 400m
134 memory: 500Mi
135 large:
136 limits:
137 cpu: 2
138 memory: 2Gi
139 requests:
140 cpu: 800m
141 memory: 1Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000142 unlimited: {}