vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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 | |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 20 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.0 |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
| 26 | repository: nexus3.onap.org:10001 |
Gary Wu | bc1e731 | 2018-10-18 09:48:31 -0700 | [diff] [blame] | 27 | image: onap/cli:2.0.4 |
subhash kumar singh | fc3fa1e | 2017-08-31 23:33:16 +0530 | [diff] [blame] | 28 | pullPolicy: Always |
rajeshkalai | 91524d0 | 2018-09-18 03:39:18 -0400 | [diff] [blame] | 29 | flavor: small |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 30 | |
| 31 | # application configuration |
| 32 | config: |
| 33 | climode: daemon |
| 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: cli |
| 57 | externalPort: 8080 |
| 58 | externalPort1: 9090 |
| 59 | internalPort: "80" |
| 60 | internalPort1: 8080 |
| 61 | nodePort: "60" |
Mandeep Khinda | 9ef4d43 | 2018-05-17 20:16:06 +0000 | [diff] [blame] | 62 | nodePort1: "71" |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 63 | |
| 64 | ingress: |
| 65 | enabled: false |
| 66 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 67 | # Configure resource requests and limits |
| 68 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
rajeshkalai | 9eb454b | 2018-09-18 16:43:26 -0400 | [diff] [blame] | 69 | resources: |
| 70 | small: |
| 71 | limits: |
| 72 | cpu: 1 |
| 73 | memory: 2Gi |
| 74 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 75 | cpu: 10m |
| 76 | memory: 500Mi |
rajeshkalai | 9eb454b | 2018-09-18 16:43:26 -0400 | [diff] [blame] | 77 | large: |
| 78 | limits: |
| 79 | cpu: 4 |
| 80 | memory: 8Gi |
| 81 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 82 | cpu: 2 |
| 83 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 84 | unlimited: {} |