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 | # application image |
| 30 | loggingRepository: docker.elastic.co |
| 31 | image: logstash/logstash:5.4.3 |
| 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 | |
Michael O'Brien | 286725f | 2018-05-18 01:51:02 -0400 | [diff] [blame] | 42 | # default number of instances matches cluster size via DaemonSet deployment |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 120 |
| 51 | periodSeconds: 10 |
| 52 | # necessary to disable liveness probe when setting breakpoints |
| 53 | # in debugger so K8s doesn't restart unresponsive container |
| 54 | enabled: true |
| 55 | |
| 56 | readiness: |
| 57 | initialDelaySeconds: 10 |
| 58 | periodSeconds: 10 |
| 59 | |
| 60 | service: |
| 61 | #Example service definition with external, internal and node ports. |
| 62 | #Services may use any combination of ports depending on the 'type' of |
| 63 | #service being defined. |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 64 | type: NodePort |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 65 | name: log-ls |
| 66 | externalPort: 5044 |
| 67 | internalPort: 5044 |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 68 | nodePort: 55 |
| 69 | type2: ClusterIP |
| 70 | name2: log-ls-http |
| 71 | externalPort2: 9600 |
| 72 | internalPort2: 9600 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 73 | ingress: |
| 74 | enabled: false |
| 75 | |
| 76 | resources: {} |
| 77 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 78 | # choice for the user. This also increases chances charts run on environments with little |
| 79 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 80 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 81 | # |
| 82 | # Example: |
| 83 | # Configure resource requests and limits |
| 84 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 85 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 86 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 87 | #resources: |
| 88 | # limits: |
| 89 | # cpu: 2 |
| 90 | # memory: 4Gi |
| 91 | # requests: |
| 92 | # cpu: 2 |
| 93 | # memory: 4Gi |