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 |
Taka Cho | f9cd2cd | 2020-05-23 09:27:19 -0400 | [diff] [blame] | 28 | image: onap/appc-cdt-image:1.7.2 |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 29 | pullPolicy: Always |
| 30 | |
| 31 | # application configuration |
| 32 | config: {} |
| 33 | |
| 34 | # default number of instances |
| 35 | replicaCount: 1 |
| 36 | |
| 37 | nodeSelector: {} |
| 38 | |
| 39 | affinity: {} |
| 40 | |
| 41 | # probe configuration parameters |
| 42 | liveness: |
| 43 | initialDelaySeconds: 10 |
| 44 | periodSeconds: 10 |
| 45 | # necessary to disable liveness probe when setting breakpoints |
| 46 | # in debugger so K8s doesn't restart unresponsive container |
| 47 | enabled: true |
| 48 | |
| 49 | readiness: |
| 50 | initialDelaySeconds: 10 |
| 51 | periodSeconds: 10 |
| 52 | |
| 53 | service: |
| 54 | type: NodePort |
| 55 | name: appc-cdt |
Taka Cho | 2fb0261 | 2019-03-03 13:09:56 -0500 | [diff] [blame] | 56 | externalPort: 18080 |
| 57 | internalPort: 18080 |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 58 | nodePort: 89 |
| 59 | |
| 60 | ingress: |
| 61 | enabled: false |
Lucjan Bryndza | 684487d | 2019-12-02 12:20:10 +0100 | [diff] [blame] | 62 | service: |
| 63 | - baseaddr: appccdt |
| 64 | name: "appc-cdt" |
| 65 | port: 18080 |
| 66 | config: |
Sylvain Desbureaux | 48a2dd5 | 2020-05-06 15:19:03 +0200 | [diff] [blame] | 67 | ssl: "redirect" |
BorislavG | 12b6158 | 2018-03-28 19:31:32 +0300 | [diff] [blame] | 68 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 69 | # Configure resource requests and limits |
| 70 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 71 | resources: |
| 72 | small: |
| 73 | limits: |
| 74 | cpu: 1 |
| 75 | memory: 1Gi |
| 76 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 77 | cpu: 0.5 |
| 78 | memory: 500Mi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 79 | large: |
| 80 | limits: |
| 81 | cpu: 2 |
| 82 | memory: 2Gi |
| 83 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 84 | cpu: 1 |
| 85 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 86 | unlimited: {} |