[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / portal / components / portal-mariadb / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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 # Default values for mariadb.
17 # This is a YAML-formatted file.
18 # Declare variables to be passed into your templates.
19 global: # global defaults
20   nodePortPrefix: 302
21   persistence: {}
22   readinessImage: onap/oom/readiness:3.0.1
23   busyBoxImage: busybox:1.30
24   busyBoxRepository: docker.io
25
26 # application image
27 repository: nexus3.onap.org:10001
28 image: onap/portal-db:3.2.3
29 pullPolicy: Always
30
31
32 mariadbInitImage: "oomk8s/mariadb-client-init:3.0.0"
33
34 # application configuration
35 config:
36   mariadbUser: root
37   mariadbRootPassword: Aa123456
38   #The directory where sql files are found in the projects gerrit repo.
39   sqlSourceDirectory: portal/deliveries
40   # sdc frontend assignment for port 9443
41   sdcFePort: "30207"
42   # application's front end hostname.  Must be resolvable on the client side environment
43   sdcFeHostName: "sdc.api.fe.simpledemo.onap.org"
44   # policy pap ui assignment for port 8443
45   papPort: "30219"
46   # application's front end hostname.  Must be resolvable on the client side environment
47   papHostName: "policy.api.simpledemo.onap.org"
48   # vid ui  assignment for port 8443
49   vidPort: "30200"
50   # application's front end hostname.  Must be resolvable on the client side environment
51   vidHostName: "vid.api.simpledemo.onap.org"
52   # aai sparky ui assignment for port 8080
53   aaiSparkyPort: "30220"
54   # application's front end hostname.  Must be resolvable on the client side environment
55   aaiSparkyHostName: "aai.ui.simpledemo.onap.org"
56   # cli ui  assignment for port 8080
57   cliPort: "30260"
58   # application's front end hostname.  Must be resolvable on the client side environment
59   cliHostName: "cli.api.simpledemo.onap.org"
60   # portal sdk (demo app) ui assignment for port 8990
61   portalSdkPort: "30212"
62   # application's front end hostname.  Must be resolvable on the client side environment
63   portalSdkHostName: "portal-sdk.simpledemo.onap.org"
64   # dmaap bus controller ui assignment for port ?
65   dmaapBcPort: "" # TODO: populate with
66   # application's front end hostname.  Must be resolvable on the client side environment
67   dmaapBcHostName: "dmaap-bc.simpledemo.onap.org"
68   # msb IAG ui assignment for port 80
69   msbPort: "30283"
70   # application's front end hostname.  Must be resolvable on the client side environment
71   msbHostName: "msb.api.simpledemo.onap.org"
72   # SO Monitoring assignment for port 30224
73   soMonitoringPort: "30224"
74   # application's front end hostname.  Must be resolvable on the client side environment
75   soMonitoringHostName: "so-monitoring"
76
77
78 # default number of instances
79 replicaCount: 1
80
81 nodeSelector: {}
82
83 affinity: {}
84
85 # probe configuration parameters
86 liveness:
87   initialDelaySeconds: 450
88   periodSeconds: 10
89   # necessary to disable liveness probe when setting breakpoints
90   # in debugger so K8s doesn't restart unresponsive container
91   enabled: true
92
93 readiness:
94   initialDelaySeconds: 450
95   periodSeconds: 10
96
97 ## Persist data to a persitent volume
98 persistence:
99   enabled: true
100
101   ## A manually managed Persistent Volume and Claim
102   ## Requires persistence.enabled: true
103   ## If defined, PVC must be created manually before volume will be bound
104   # existingClaim:
105   volumeReclaimPolicy: Retain
106
107   ## database data Persistent Volume Storage Class
108   ## If defined, storageClassName: <storageClass>
109   ## If set to "-", storageClassName: "", which disables dynamic provisioning
110   ## If undefined (the default) or set to null, no storageClassName spec is
111   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
112   ##   GKE, AWS & OpenStack)
113   ##
114   # storageClass: "-"
115   accessMode: ReadWriteOnce
116   size: 2Gi
117   mountPath: /dockerdata-nfs
118   mountSubPath: portal/mariadb/data
119
120 service:
121   type: ClusterIP
122   name: portal-db
123   portName: portal-db
124   externalPort: 3306
125   internalPort: 3306
126
127 ingress:
128   enabled: false
129
130 # Resource Limit flavor -By Default using small
131 flavor: small
132 # Segregation for Different environment (Small and Large)
133 resources:
134   small:
135     limits:
136       cpu: 460m
137       memory: 175Mi
138     requests:
139       cpu: 10m
140       memory: 100Mi
141   large:
142     limits:
143       cpu: 2
144       memory: 2Gi
145     requests:
146       cpu: 800m
147       memory: 1Gi
148   unlimited: {}