BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Mukul | 7de56c8 | 2018-09-04 08:03:27 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 22 | persistence: {} |
| 23 | |
| 24 | ################################################################# |
| 25 | # Application configuration defaults. |
| 26 | ################################################################# |
| 27 | |
Artem Naluzhnyy | e02c223 | 2019-05-31 11:18:30 +0000 | [diff] [blame] | 28 | # Elasticdump image |
| 29 | elasticdumpRepository: docker.io |
| 30 | elasticdumpImage: taskrabbit/elasticsearch-dump |
| 31 | |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 32 | # BusyBox image |
Sylvain Desbureaux | 23a38b3 | 2020-11-20 08:57:12 +0100 | [diff] [blame^] | 33 | busyboxRepository: docker.io |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 34 | busyboxImage: library/busybox:latest |
| 35 | |
| 36 | # application image |
| 37 | loggingRepository: docker.elastic.co |
| 38 | image: kibana/kibana:5.5.0 |
| 39 | pullPolicy: Always |
| 40 | |
| 41 | # flag to enable debugging - application support required |
| 42 | debugEnabled: false |
| 43 | |
| 44 | # application configuration |
| 45 | config: |
| 46 | elasticsearchServiceName: log-es |
| 47 | elasticsearchPort: 9200 |
| 48 | |
| 49 | # default number of instances |
| 50 | replicaCount: 1 |
| 51 | |
| 52 | nodeSelector: {} |
| 53 | |
| 54 | affinity: {} |
| 55 | |
| 56 | # probe configuration parameters |
| 57 | liveness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 58 | initialDelaySeconds: 300 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 59 | periodSeconds: 10 |
root | 457c65a | 2018-04-04 14:51:59 +0000 | [diff] [blame] | 60 | timeoutSeconds: 1 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 61 | # necessary to disable liveness probe when setting breakpoints |
| 62 | # in debugger so K8s doesn't restart unresponsive container |
| 63 | enabled: true |
| 64 | |
| 65 | readiness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 66 | initialDelaySeconds: 300 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 67 | periodSeconds: 10 |
root | 457c65a | 2018-04-04 14:51:59 +0000 | [diff] [blame] | 68 | timeoutSeconds: 1 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 69 | |
| 70 | service: |
| 71 | #Example service definition with external, internal and node ports. |
| 72 | #Services may use any combination of ports depending on the 'type' of |
| 73 | #service being defined. |
| 74 | type: NodePort |
| 75 | name: log-kibana |
| 76 | externalPort: 5601 |
| 77 | internalPort: 5601 |
| 78 | nodePort: 53 |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 79 | |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 80 | ingress: |
| 81 | enabled: false |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 82 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 83 | - baseaddr: "kibana.api" |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 84 | name: "log-kibana" |
| 85 | port: 5601 |
| 86 | config: |
| 87 | ssl: "none" |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 88 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 89 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 90 | flavor: small |
| 91 | # Segregation for Different environment (Small and Large) |
| 92 | resources: |
| 93 | small: |
| 94 | limits: |
| 95 | cpu: 2 |
| 96 | memory: 4Gi |
| 97 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 98 | cpu: 1 |
| 99 | memory: 2Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 100 | large: |
| 101 | limits: |
| 102 | cpu: 4 |
| 103 | memory: 8Gi |
| 104 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 105 | cpu: 2 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 106 | memory: 4Gi |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 107 | unlimited: {} |