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 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 21 | persistence: {} |
| 22 | |
| 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | |
Artem Naluzhnyy | e02c223 | 2019-05-31 11:18:30 +0000 | [diff] [blame] | 27 | # Elasticdump image |
Artem Naluzhnyy | e02c223 | 2019-05-31 11:18:30 +0000 | [diff] [blame] | 28 | elasticdumpImage: taskrabbit/elasticsearch-dump |
| 29 | |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 30 | # application image |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 31 | image: kibana/kibana:5.5.0 |
| 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
| 37 | # application configuration |
| 38 | config: |
| 39 | elasticsearchServiceName: log-es |
| 40 | elasticsearchPort: 9200 |
| 41 | |
| 42 | # default number of instances |
| 43 | replicaCount: 1 |
| 44 | |
| 45 | nodeSelector: {} |
| 46 | |
| 47 | affinity: {} |
| 48 | |
| 49 | # probe configuration parameters |
| 50 | liveness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 51 | initialDelaySeconds: 300 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 52 | periodSeconds: 10 |
root | 457c65a | 2018-04-04 14:51:59 +0000 | [diff] [blame] | 53 | timeoutSeconds: 1 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | enabled: true |
| 57 | |
| 58 | readiness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 59 | initialDelaySeconds: 300 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 60 | periodSeconds: 10 |
root | 457c65a | 2018-04-04 14:51:59 +0000 | [diff] [blame] | 61 | timeoutSeconds: 1 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 62 | |
| 63 | service: |
| 64 | #Example service definition with external, internal and node ports. |
| 65 | #Services may use any combination of ports depending on the 'type' of |
| 66 | #service being defined. |
| 67 | type: NodePort |
| 68 | name: log-kibana |
| 69 | externalPort: 5601 |
| 70 | internalPort: 5601 |
| 71 | nodePort: 53 |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 72 | |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 73 | ingress: |
| 74 | enabled: false |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 75 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 76 | - baseaddr: "kibana.api" |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 77 | name: "log-kibana" |
| 78 | port: 5601 |
| 79 | config: |
| 80 | ssl: "none" |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 81 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 82 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 83 | flavor: small |
| 84 | # Segregation for Different environment (Small and Large) |
| 85 | resources: |
| 86 | small: |
| 87 | limits: |
| 88 | cpu: 2 |
| 89 | memory: 4Gi |
| 90 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 91 | cpu: 1 |
| 92 | memory: 2Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 93 | large: |
| 94 | limits: |
| 95 | cpu: 4 |
| 96 | memory: 8Gi |
| 97 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 98 | cpu: 2 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 99 | memory: 4Gi |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 100 | unlimited: {} |