Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 1 | # Copyright (C) 2018 Verizon. All Rights Reserved |
| 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 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | readinessRepository: oomk8s |
| 21 | readinessImage: readiness-check:2.0.0 |
| 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
| 28 | # application image |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 29 | flavor: small |
| 30 | |
Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 31 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 32 | image: onap/vfc/db:1.2.0 |
Bharath Thiruveedula | 63070de | 2018-08-16 10:08:52 +0530 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
| 38 | # application configuration |
| 39 | config: {} |
| 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 120 |
| 51 | periodSeconds: 10 |
| 52 | # necessary to disable liveness probe when setting breakpoints |
| 53 | # in debugger so K8s doesn't restart unresponsive container |
| 54 | enabled: true |
| 55 | |
| 56 | readiness: |
| 57 | initialDelaySeconds: 120 |
| 58 | periodSeconds: 10 |
| 59 | |
| 60 | service: |
| 61 | type: ClusterIP |
| 62 | name: vfc-db |
| 63 | portName: vfc-db |
| 64 | externalPort: 3306 |
| 65 | internalPort: 3306 |
| 66 | externalPort2: 6379 |
| 67 | internalPort2: 6379 |
| 68 | |
| 69 | ingress: |
| 70 | enabled: false |
| 71 | |
GregSulek | 5fb3bc6 | 2018-09-20 08:51:37 -0400 | [diff] [blame] | 72 | # Configure resource requests and limits |
| 73 | resources: |
| 74 | small: |
| 75 | limits: |
| 76 | cpu: 200m |
| 77 | memory: 500Mi |
| 78 | requests: |
| 79 | cpu: 100m |
| 80 | memory: 250Mi |
| 81 | large: |
| 82 | limits: |
| 83 | cpu: 400m |
| 84 | memory: 1000Mi |
| 85 | requests: |
| 86 | cpu: 200m |
| 87 | memory: 500Mi |
| 88 | unlimited: {} |