toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | # Default values for sparky-be. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 20 | aai: |
BorislavG | 2d4426e | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 21 | serviceName: aai |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 22 | aaiElasticsearch: |
| 23 | serviceName: aai-elasticsearch |
| 24 | gizmo: |
| 25 | serviceName: aai-gizmo |
| 26 | searchData: |
| 27 | serviceName: aai-search-data |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 28 | |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 31 | image: onap/sparky-be:1.3.0 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | restartPolicy: Always |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 34 | flavor: small |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 35 | dockerhubRepository: registry.hub.docker.com |
| 36 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 37 | # application configuration |
| 38 | config: |
| 39 | elasticsearchHttpPort: 9200 |
Mike Elliott | 3e0bad9 | 2018-11-28 15:58:53 -0500 | [diff] [blame] | 40 | gerritBranch: 3.0.0-ONAP |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 41 | gerritProject: http://gerrit.onap.org/r/aai/test-config |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 42 | portalUsername: aaiui |
| 43 | portalPassword: 1t2v1vfv1unz1vgz1t3b |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 44 | |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 45 | # ONAP Cookie Processing - During initial development, the following flag, if true, will |
| 46 | # prevent the portal interface's login processing from searching for a user |
| 47 | # specific cookie, and will instead allow passage if a valid session cookie is discovered. |
| 48 | portalOnapEnabled: true |
| 49 | # |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 50 | |
| 51 | # override chart name (sparky-be) to share a common namespace |
| 52 | # suffix with parent chart (aai) |
| 53 | nsSuffix: aai |
| 54 | |
| 55 | |
| 56 | # default number of instances |
| 57 | replicaCount: 1 |
| 58 | |
| 59 | nodeSelector: {} |
| 60 | |
| 61 | affinity: {} |
| 62 | |
| 63 | # probe configuration parameters |
| 64 | liveness: |
| 65 | initialDelaySeconds: 10 |
| 66 | periodSeconds: 10 |
| 67 | # necessary to disable liveness probe when setting breakpoints |
| 68 | # in debugger so K8s doesn't restart unresponsive container |
| 69 | enabled: true |
| 70 | |
| 71 | readiness: |
| 72 | initialDelaySeconds: 10 |
| 73 | periodSeconds: 10 |
| 74 | |
| 75 | service: |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 76 | type: NodePort |
BorislavG | 2d4426e | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 77 | portName: aai-sparky-be |
Arul.Nambi | 71d6618 | 2018-12-14 11:24:04 -0500 | [diff] [blame^] | 78 | internalPort: 8000 |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 79 | nodePort: 20 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 80 | |
| 81 | ingress: |
| 82 | enabled: false |
| 83 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 84 | # Configure resource requests and limits |
| 85 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 86 | resources: |
| 87 | small: |
| 88 | limits: |
| 89 | cpu: 2 |
| 90 | memory: 4Gi |
| 91 | requests: |
fpaquett | 62cd70d | 2018-11-30 13:15:48 -0500 | [diff] [blame] | 92 | cpu: 0.25 |
| 93 | memory: 1Gi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 94 | large: |
| 95 | limits: |
| 96 | cpu: 4 |
| 97 | memory: 8Gi |
| 98 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame] | 99 | cpu: 0.5 |
| 100 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 101 | unlimited: {} |