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