Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T, Amdocs, Bell Canada Intellectual Property. 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 | |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 24 | |
| 25 | flavor: small |
| 26 | |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 27 | # application image |
| 28 | repository: nexus3.onap.org:10001 |
Taka Cho | db6f0ed | 2019-05-13 09:21:17 -0400 | [diff] [blame] | 29 | image: onap/appc-cdt-image:1.5.0 |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | |
| 32 | # application configuration |
| 33 | config: {} |
| 34 | |
| 35 | # default number of instances |
| 36 | replicaCount: 1 |
| 37 | |
| 38 | nodeSelector: {} |
| 39 | |
| 40 | affinity: {} |
| 41 | |
| 42 | # probe configuration parameters |
| 43 | liveness: |
| 44 | initialDelaySeconds: 10 |
| 45 | periodSeconds: 10 |
| 46 | # necessary to disable liveness probe when setting breakpoints |
| 47 | # in debugger so K8s doesn't restart unresponsive container |
| 48 | enabled: true |
| 49 | |
| 50 | readiness: |
| 51 | initialDelaySeconds: 10 |
| 52 | periodSeconds: 10 |
| 53 | |
| 54 | service: |
| 55 | type: NodePort |
| 56 | name: appc-cdt |
Taka Cho | 2fb0261 | 2019-03-03 13:09:56 -0500 | [diff] [blame] | 57 | externalPort: 18080 |
| 58 | internalPort: 18080 |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 59 | nodePort: 89 |
| 60 | |
| 61 | ingress: |
| 62 | enabled: false |
| 63 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 64 | # Configure resource requests and limits |
| 65 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 66 | resources: |
| 67 | small: |
| 68 | limits: |
| 69 | cpu: 1 |
| 70 | memory: 1Gi |
| 71 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 72 | cpu: 0.5 |
| 73 | memory: 500Mi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 74 | large: |
| 75 | limits: |
| 76 | cpu: 2 |
| 77 | memory: 2Gi |
| 78 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 79 | cpu: 1 |
| 80 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 81 | unlimited: {} |