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 | 06ad9b7 | 2018-04-10 21:35:54 -0400 | [diff] [blame] | 22 | readinessRepository: oomk8s |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 23 | |
| 24 | |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 27 | image: onap/portal-db:2.3.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
Gary Wu | bf4b4d8 | 2018-05-11 13:26:30 -0700 | [diff] [blame] | 30 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | 9f314ea | 2018-09-19 19:57:25 +0000 | [diff] [blame^] | 31 | mariadbInitImage: "mariadb-client-init:3.0.0" |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 32 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 33 | # application configuration |
| 34 | config: |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 35 | mariadbUser: root |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 36 | mariadbRootPassword: Aa123456 |
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 |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 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" |
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 |
| 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 |
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 |
| 68 | msbPort: "30280" |
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" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 71 | |
| 72 | # default number of instances |
| 73 | replicaCount: 1 |
| 74 | |
| 75 | nodeSelector: {} |
| 76 | |
| 77 | affinity: {} |
| 78 | |
| 79 | # probe configuration parameters |
| 80 | liveness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 81 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 82 | 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 | |
| 87 | readiness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 88 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 89 | periodSeconds: 10 |
| 90 | |
| 91 | ## Persist data to a persitent volume |
| 92 | persistence: |
| 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 | |
| 114 | service: |
| 115 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 116 | name: portal-db |
| 117 | portName: portal-db |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 118 | externalPort: 3306 |
| 119 | internalPort: 3306 |
| 120 | |
| 121 | ingress: |
| 122 | enabled: false |
| 123 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 124 | # Resource Limit flavor -By Default using small |
Nishukumar | 75d48b9 | 2018-09-19 12:11:51 +0000 | [diff] [blame] | 125 | flavor: small |
| 126 | # Segregation for Different environment (Small and Large) |
| 127 | resources: |
| 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 Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 142 | unlimited: {} |