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 | |
| 27 | # application image |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 28 | image: logstash/logstash:5.4.3 |
| 29 | pullPolicy: Always |
| 30 | |
| 31 | # flag to enable debugging - application support required |
| 32 | debugEnabled: false |
| 33 | |
| 34 | # application configuration |
| 35 | config: |
| 36 | elasticsearchServiceName: log-es |
| 37 | elasticsearchPort: 9200 |
| 38 | |
Gary Wu | efbcaee | 2018-11-13 18:08:02 -0800 | [diff] [blame] | 39 | # default number of instances |
| 40 | # 30+ logs/sec will saturate a single node to 6+ vCores |
root | ca8af3e | 2018-11-23 15:52:21 -0500 | [diff] [blame] | 41 | replicaCount: 3 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 42 | |
| 43 | nodeSelector: {} |
| 44 | |
| 45 | affinity: {} |
| 46 | |
| 47 | # probe configuration parameters |
| 48 | liveness: |
| 49 | initialDelaySeconds: 120 |
| 50 | periodSeconds: 10 |
| 51 | # necessary to disable liveness probe when setting breakpoints |
| 52 | # in debugger so K8s doesn't restart unresponsive container |
| 53 | enabled: true |
| 54 | |
| 55 | readiness: |
| 56 | initialDelaySeconds: 10 |
| 57 | periodSeconds: 10 |
| 58 | |
| 59 | service: |
| 60 | #Example service definition with external, internal and node ports. |
| 61 | #Services may use any combination of ports depending on the 'type' of |
| 62 | #service being defined. |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 63 | type: NodePort |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 64 | name: log-ls |
| 65 | externalPort: 5044 |
| 66 | internalPort: 5044 |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 67 | nodePort: 55 |
| 68 | type2: ClusterIP |
| 69 | name2: log-ls-http |
| 70 | externalPort2: 9600 |
| 71 | internalPort2: 9600 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 72 | ingress: |
| 73 | enabled: false |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 74 | service: |
| 75 | - baseaddr: "logls" |
| 76 | name: "log-ls" |
| 77 | port: 5044 |
| 78 | - baseaddr: "loglshttp" |
| 79 | name: "log-ls" |
| 80 | port: 9600 |
| 81 | config: |
| 82 | ssl: "none" |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 83 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 84 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 85 | flavor: small |
| 86 | # Segregation for Different environment (Small and Large) |
| 87 | resources: |
| 88 | small: |
| 89 | limits: |
| 90 | cpu: 1 |
| 91 | memory: 2Gi |
| 92 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 93 | cpu: 0.5 |
| 94 | memory: 1Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 95 | large: |
| 96 | limits: |
| 97 | cpu: 2 |
| 98 | memory: 4Gi |
| 99 | requests: |
| 100 | cpu: 2 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 101 | memory: 4Gi |
root | ca8af3e | 2018-11-23 15:52:21 -0500 | [diff] [blame] | 102 | unlimited: {} |