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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 20 | readinessImage: onap/oom/readiness:3.0.1 |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
| 25 | repository: nexus3.onap.org:10001 |
Kanagaraj Manickam | fed2112 | 2020-04-04 09:44:19 +0530 | [diff] [blame] | 26 | image: onap/cli:5.0.4 |
subhash kumar singh | fc3fa1e | 2017-08-31 23:33:16 +0530 | [diff] [blame] | 27 | pullPolicy: Always |
rajeshkalai | 91524d0 | 2018-09-18 03:39:18 -0400 | [diff] [blame] | 28 | flavor: small |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 29 | |
| 30 | # application configuration |
| 31 | config: |
| 32 | climode: daemon |
| 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: cli |
Kanagaraj Manickam | fed2112 | 2020-04-04 09:44:19 +0530 | [diff] [blame] | 56 | externalPort: 443 |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 57 | externalPort1: 9090 |
Kanagaraj Manickam | fed2112 | 2020-04-04 09:44:19 +0530 | [diff] [blame] | 58 | internalPort: "443" |
| 59 | internalPort1: 9090 |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 60 | nodePort: "60" |
Mandeep Khinda | 9ef4d43 | 2018-05-17 20:16:06 +0000 | [diff] [blame] | 61 | nodePort1: "71" |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 62 | |
| 63 | ingress: |
| 64 | enabled: false |
Lucjan Bryndza | faf1985 | 2019-12-02 13:30:20 +0100 | [diff] [blame] | 65 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 66 | - baseaddr: "cli.api" |
Lucjan Bryndza | faf1985 | 2019-12-02 13:30:20 +0100 | [diff] [blame] | 67 | name: "cli" |
Kanagaraj Manickam | fed2112 | 2020-04-04 09:44:19 +0530 | [diff] [blame] | 68 | port: 443 |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 69 | - baseaddr: "cli2.api" |
Lucjan Bryndza | faf1985 | 2019-12-02 13:30:20 +0100 | [diff] [blame] | 70 | name: cli |
| 71 | port: 9090 |
| 72 | config: |
Sylvain Desbureaux | 7ce1bc0 | 2020-05-06 15:20:39 +0200 | [diff] [blame] | 73 | ssl: "redirect" |
Priyanka | ec75797 | 2018-03-28 11:23:59 +0000 | [diff] [blame] | 74 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 75 | # Configure resource requests and limits |
| 76 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
rajeshkalai | 9eb454b | 2018-09-18 16:43:26 -0400 | [diff] [blame] | 77 | resources: |
| 78 | small: |
| 79 | limits: |
| 80 | cpu: 1 |
| 81 | memory: 2Gi |
| 82 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 83 | cpu: 10m |
| 84 | memory: 500Mi |
rajeshkalai | 9eb454b | 2018-09-18 16:43:26 -0400 | [diff] [blame] | 85 | large: |
| 86 | limits: |
| 87 | cpu: 4 |
| 88 | memory: 8Gi |
| 89 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 90 | cpu: 2 |
| 91 | memory: 4Gi |
Kanagaraj Manickam | fed2112 | 2020-04-04 09:44:19 +0530 | [diff] [blame] | 92 | unlimited: {} |