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: {} |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame^] | 22 | readinessImage: onap/oom/readiness:3.0.1 |
Sandeep Shah | 6a385ce | 2020-08-07 16:54:12 -0500 | [diff] [blame] | 23 | busyBoxImage: busybox:1.30 |
| 24 | busyBoxRepository: docker.io |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 25 | |
| 26 | # application image |
| 27 | repository: nexus3.onap.org:10001 |
statta | 3654786 | 2020-05-27 16:06:27 -0400 | [diff] [blame] | 28 | image: onap/portal-db:3.2.3 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 29 | pullPolicy: Always |
| 30 | |
Sylvain Desbureaux | 92028e1 | 2020-04-20 12:02:24 +0200 | [diff] [blame] | 31 | |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame^] | 32 | mariadbInitImage: "oomk8s/mariadb-client-init:3.0.0" |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 33 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 34 | # application configuration |
| 35 | config: |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 36 | mariadbUser: root |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 37 | mariadbRootPassword: Aa123456 |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 38 | #The directory where sql files are found in the projects gerrit repo. |
| 39 | sqlSourceDirectory: portal/deliveries |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 40 | # sdc frontend assignment for port 9443 |
| 41 | sdcFePort: "30207" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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" |
Piotr Darosz | aca7aa5 | 2018-08-29 14:27:02 +0200 | [diff] [blame] | 48 | # vid ui assignment for port 8443 |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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 |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 53 | aaiSparkyPort: "30220" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 54 | # 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] | 55 | aaiSparkyHostName: "aai.ui.simpledemo.onap.org" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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 |
BorislavG | cdbd3ab | 2018-07-17 08:42:23 +0000 | [diff] [blame] | 61 | portalSdkPort: "30212" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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" |
Huabing Zhao | b3005d3 | 2018-10-19 04:54:43 +0000 | [diff] [blame] | 68 | # msb IAG ui assignment for port 80 |
Huabing Zhao | cd38432 | 2020-04-22 09:21:07 +0800 | [diff] [blame] | 69 | msbPort: "30283" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 70 | # 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] | 71 | msbHostName: "msb.api.simpledemo.onap.org" |
Eoin Hanan | 306e063 | 2018-11-22 13:14:16 +0000 | [diff] [blame] | 72 | # SO Monitoring assignment for port 30224 |
| 73 | soMonitoringPort: "30224" |
| 74 | # 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] | 75 | soMonitoringHostName: "so-monitoring" |
Eoin Hanan | 306e063 | 2018-11-22 13:14:16 +0000 | [diff] [blame] | 76 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 77 | |
| 78 | # default number of instances |
| 79 | replicaCount: 1 |
| 80 | |
| 81 | nodeSelector: {} |
| 82 | |
| 83 | affinity: {} |
| 84 | |
| 85 | # probe configuration parameters |
| 86 | liveness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 87 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 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: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 94 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 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: "-" |
Sylvain Desbureaux | cce22e9 | 2019-09-02 14:18:42 +0200 | [diff] [blame] | 115 | accessMode: ReadWriteOnce |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 116 | size: 2Gi |
| 117 | mountPath: /dockerdata-nfs |
| 118 | mountSubPath: portal/mariadb/data |
| 119 | |
| 120 | service: |
| 121 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 122 | name: portal-db |
| 123 | portName: portal-db |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 124 | externalPort: 3306 |
| 125 | internalPort: 3306 |
| 126 | |
| 127 | ingress: |
| 128 | enabled: false |
| 129 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 130 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 131 | flavor: small |
| 132 | # Segregation for Different environment (Small and Large) |
| 133 | resources: |
| 134 | small: |
| 135 | limits: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 136 | cpu: 460m |
| 137 | memory: 175Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 138 | requests: |
Sylvain Desbureaux | 22b89c7 | 2019-10-29 12:00:36 +0100 | [diff] [blame] | 139 | cpu: 10m |
| 140 | memory: 100Mi |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 141 | large: |
| 142 | limits: |
| 143 | cpu: 2 |
| 144 | memory: 2Gi |
| 145 | requests: |
| 146 | cpu: 800m |
| 147 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 148 | unlimited: {} |