Extend K8S and RIC installation instructions
[it/dep.git] / ric-aux / helm / portal / charts / 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   readinessRepository: oomk8s
23
24
25 # application image
26 repository: nexus3.onap.org:10001
27 image: onap/portal-db:2.5.0
28 pullPolicy: Always
29
30 readinessImage: readiness-check:2.0.0
31 mariadbInitImage: "mariadb-client-init:3.0.0"
32
33 # application configuration
34 config:
35   mariadbUser: root
36   mariadbRootPassword: Aa123456
37   #The directory where sql files are found in the projects gerrit repo.
38   sqlSourceDirectory: portal/deliveries
39   # 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"
47   # vid ui  assignment for port 8443
48   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
52   aaiSparkyPort: "30220"
53   # application's front end hostname.  Must be resolvable on the client side environment
54   aaiSparkyHostName: "aai.ui.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
60   portalSdkPort: "30212"
61   # 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 IAG ui assignment for port 80
68   msbPort: "30280"
69   # application's front end hostname.  Must be resolvable on the client side environment
70   msbHostName: "msb.api.simpledemo.onap.org"
71   # SO Monitoring assignment for port 30224
72   soMonitoringPort: "30224"
73   # application's front end hostname.  Must be resolvable on the client side environment
74   soMonitoringHostName: "so-monitoring"
75   
76   # Ingress URL assigned to RIC dashboard. This has to agree with the ingress URL defined in the common template
77   ricdashboardPort: "32443"
78   ricdashboardProtocol: "https"
79   ricdashboardHostName: "dashboard-entry"
80
81 # default number of instances
82 replicaCount: 1
83
84 nodeSelector: {}
85
86 affinity: {}
87
88 # probe configuration parameters
89 liveness:
90   initialDelaySeconds: 450
91   periodSeconds: 10
92   # necessary to disable liveness probe when setting breakpoints
93   # in debugger so K8s doesn't restart unresponsive container
94   enabled: true
95
96 readiness:
97   initialDelaySeconds: 30
98   periodSeconds: 10
99
100 ## Persist data to a persitent volume
101 persistence:
102   enabled: false
103
104   ## A manually managed Persistent Volume and Claim
105   ## Requires persistence.enabled: true
106   ## If defined, PVC must be created manually before volume will be bound
107   # existingClaim:
108   volumeReclaimPolicy: Retain
109
110   ## database data Persistent Volume Storage Class
111   ## If defined, storageClassName: <storageClass>
112   ## If set to "-", storageClassName: "", which disables dynamic provisioning
113   ## If undefined (the default) or set to null, no storageClassName spec is
114   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
115   ##   GKE, AWS & OpenStack)
116   ##
117   # storageClass: "-"
118   accessMode: ReadWriteMany
119   size: 2Gi
120   mountPath: /dockerdata-nfs
121   mountSubPath: portal/mariadb/data
122   storageClass: "manual"
123
124
125 service:
126   type: ClusterIP
127   name: portal-db
128   portName: portal-db
129   externalPort: 3306
130   internalPort: 3306
131
132 ingress:
133   enabled: false
134
135 # Resource Limit flavor -By Default using small
136 flavor: small
137 # Segregation for Different environment (Small and Large)
138 resources:
139   small:
140     limits:
141       cpu: 800m
142       memory: 1Gi
143     requests:
144       cpu: 400m
145       memory: 500Mi
146   large:
147     limits:
148       cpu: 2
149       memory: 2Gi
150     requests:
151       cpu: 800m
152       memory: 1Gi
153   unlimited: {}