Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 21 | persistence: {} |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 22 | |
| 23 | # application image |
Sandeep Shah | 3d56552 | 2020-10-03 23:09:58 -0500 | [diff] [blame] | 24 | image: onap/portal-db:3.4.1 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 25 | pullPolicy: Always |
Sylvain Desbureaux | 585dd9d | 2020-11-19 17:59:19 +0100 | [diff] [blame] | 26 | mariadbInitImage: oomk8s/mariadb-client-init:3.0.0 |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 27 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 28 | # application configuration |
| 29 | config: |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 30 | mariadbUser: root |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 31 | mariadbRootPassword: Aa123456 |
Sandeep Shah | d6b989d | 2020-09-25 15:53:18 -0500 | [diff] [blame] | 32 | backendDbUser: portal |
| 33 | backendDbPassword: portal |
| 34 | #backend_portal_tables is a comma delimited string listing back-end tables |
| 35 | #that backendDbUser needs access to, such as to portal and ecomp_sdk tables |
| 36 | backend_portal_tables: portal,ecomp_sdk |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 37 | #The directory where sql files are found in the projects gerrit repo. |
| 38 | sqlSourceDirectory: portal/deliveries |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 39 | # sdc frontend assignment for port 9443 |
| 40 | sdcFePort: "30207" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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 Darosz | aca7aa5 | 2018-08-29 14:27:02 +0200 | [diff] [blame] | 47 | # vid ui assignment for port 8443 |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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 |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 52 | aaiSparkyPort: "30220" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 53 | # application's front end hostname. Must be resolvable on the client side environment |
Welch, Lorraine (lb2391) | e4e0909 | 2019-05-30 15:16:45 -0400 | [diff] [blame] | 54 | aaiSparkyHostName: "aai.ui.simpledemo.onap.org" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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 |
BorislavG | cdbd3ab | 2018-07-17 08:42:23 +0000 | [diff] [blame] | 60 | portalSdkPort: "30212" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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" |
Huabing Zhao | b3005d3 | 2018-10-19 04:54:43 +0000 | [diff] [blame] | 67 | # msb IAG ui assignment for port 80 |
Huabing Zhao | cd38432 | 2020-04-22 09:21:07 +0800 | [diff] [blame] | 68 | msbPort: "30283" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 69 | # application's front end hostname. Must be resolvable on the client side environment |
Huabing Zhao | b3005d3 | 2018-10-19 04:54:43 +0000 | [diff] [blame] | 70 | msbHostName: "msb.api.simpledemo.onap.org" |
Eoin Hanan | 306e063 | 2018-11-22 13:14:16 +0000 | [diff] [blame] | 71 | # SO Monitoring assignment for port 30224 |
| 72 | soMonitoringPort: "30224" |
| 73 | # application's front end hostname. Must be resolvable on the client side environment |
Eoin Hanan | 1ebe49e | 2018-12-14 09:40:46 +0000 | [diff] [blame] | 74 | soMonitoringHostName: "so-monitoring" |
Eoin Hanan | 306e063 | 2018-11-22 13:14:16 +0000 | [diff] [blame] | 75 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 76 | |
| 77 | # default number of instances |
| 78 | replicaCount: 1 |
| 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 86 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 87 | periodSeconds: 10 |
| 88 | # necessary to disable liveness probe when setting breakpoints |
| 89 | # in debugger so K8s doesn't restart unresponsive container |
| 90 | enabled: true |
| 91 | |
| 92 | readiness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 93 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 94 | periodSeconds: 10 |
| 95 | |
| 96 | ## Persist data to a persitent volume |
| 97 | persistence: |
| 98 | enabled: true |
| 99 | |
| 100 | ## A manually managed Persistent Volume and Claim |
| 101 | ## Requires persistence.enabled: true |
| 102 | ## If defined, PVC must be created manually before volume will be bound |
| 103 | # existingClaim: |
| 104 | volumeReclaimPolicy: Retain |
| 105 | |
| 106 | ## database data Persistent Volume Storage Class |
| 107 | ## If defined, storageClassName: <storageClass> |
| 108 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 109 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 110 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 111 | ## GKE, AWS & OpenStack) |
| 112 | ## |
| 113 | # storageClass: "-" |
Sylvain Desbureaux | cce22e9 | 2019-09-02 14:18:42 +0200 | [diff] [blame] | 114 | accessMode: ReadWriteOnce |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 115 | size: 2Gi |
| 116 | mountPath: /dockerdata-nfs |
| 117 | mountSubPath: portal/mariadb/data |
| 118 | |
| 119 | service: |
| 120 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 121 | name: portal-db |
| 122 | portName: portal-db |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 123 | externalPort: 3306 |
| 124 | internalPort: 3306 |
| 125 | |
| 126 | ingress: |
| 127 | enabled: false |
| 128 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 129 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 130 | flavor: small |
| 131 | # Segregation for Different environment (Small and Large) |
| 132 | resources: |
| 133 | small: |
| 134 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 135 | cpu: 460m |
| 136 | memory: 175Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 137 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 138 | cpu: 10m |
| 139 | memory: 100Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 140 | large: |
| 141 | limits: |
| 142 | cpu: 2 |
| 143 | memory: 2Gi |
| 144 | requests: |
| 145 | cpu: 800m |
| 146 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 147 | unlimited: {} |