Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [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 | |
| 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 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 28 | flavor: small |
| 29 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 30 | # application image |
| 31 | repository: nexus3.onap.org:10001 |
| 32 | image: onap/sdnc-ansible-server-image:1.4-STAGING-latest |
| 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
| 38 | # application configuration |
| 39 | config: |
| 40 | appcChartName: appc |
| 41 | mysqlServiceName: appc-dbhost |
| 42 | |
| 43 | |
| 44 | # default number of instances |
| 45 | replicaCount: 1 |
| 46 | |
| 47 | nodeSelector: {} |
| 48 | |
| 49 | affinity: {} |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
| 53 | initialDelaySeconds: 180 |
| 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | enabled: true |
| 58 | |
| 59 | readiness: |
| 60 | initialDelaySeconds: 60 |
| 61 | periodSeconds: 10 |
| 62 | |
| 63 | service: |
| 64 | type: ClusterIP |
| 65 | name: appc-ansible-server |
| 66 | portName: appc-ansible-server |
| 67 | internalPort: 8000 |
| 68 | externalPort: 8000 |
| 69 | |
| 70 | ingress: |
| 71 | enabled: false |
| 72 | |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 73 | resources: |
| 74 | small: |
| 75 | limits: |
| 76 | cpu: 1 |
| 77 | memory: 1Gi |
| 78 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 79 | cpu: 0.5 |
| 80 | memory: 0.5Mi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 81 | large: |
| 82 | limits: |
| 83 | cpu: 2 |
| 84 | memory: 2Gi |
| 85 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 86 | cpu: 1 |
| 87 | memory: 1Gi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 88 | |
| 89 | |