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