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 | 6793a75 | 2020-04-03 08:52:00 -0400 | [diff] [blame] | 29 | image: onap/appc-cdt-image:1.7.1 |
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 |
Lucjan Bryndza | 684487d | 2019-12-02 12:20:10 +0100 | [diff] [blame] | 63 | service: |
| 64 | - baseaddr: appccdt |
| 65 | name: "appc-cdt" |
| 66 | port: 18080 |
| 67 | config: |
| 68 | ssl: "none" |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 69 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 70 | # Configure resource requests and limits |
| 71 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 72 | resources: |
| 73 | small: |
| 74 | limits: |
| 75 | cpu: 1 |
| 76 | memory: 1Gi |
| 77 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 78 | cpu: 0.5 |
| 79 | memory: 500Mi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 80 | large: |
| 81 | limits: |
| 82 | cpu: 2 |
| 83 | memory: 2Gi |
| 84 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 85 | cpu: 1 |
| 86 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 87 | unlimited: {} |