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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | loggingRepository: docker.elastic.co |
| 22 | loggingImage: beats/filebeat:5.5.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: elasticsearch/elasticsearch:5.5.0 |
| 36 | pullPolicy: Always |
| 37 | |
| 38 | # flag to enable debugging - application support required |
| 39 | debugEnabled: false |
| 40 | |
| 41 | # application configuration |
| 42 | # Example: |
| 43 | config: {} |
| 44 | |
| 45 | # default number of instances |
| 46 | replicaCount: 1 |
| 47 | |
| 48 | nodeSelector: {} |
| 49 | |
| 50 | affinity: {} |
| 51 | |
| 52 | # probe configuration parameters |
| 53 | liveness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 54 | initialDelaySeconds: 120 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 55 | periodSeconds: 10 |
| 56 | # necessary to disable liveness probe when setting breakpoints |
| 57 | # in debugger so K8s doesn't restart unresponsive container |
| 58 | enabled: true |
| 59 | |
| 60 | readiness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 61 | initialDelaySeconds: 120 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 62 | periodSeconds: 10 |
| 63 | |
| 64 | ## Persist data to a persitent volume |
| 65 | persistence: |
| 66 | enabled: true |
| 67 | |
| 68 | ## A manually managed Persistent Volume and Claim |
| 69 | ## Requires persistence.enabled: true |
| 70 | ## If defined, PVC must be created manually before volume will be bound |
| 71 | # existingClaim: |
| 72 | volumeReclaimPolicy: Retain |
| 73 | |
| 74 | ## database data Persistent Volume Storage Class |
| 75 | ## If defined, storageClassName: <storageClass> |
| 76 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 77 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 78 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 79 | ## GKE, AWS & OpenStack) |
Sylvain Desbureaux | a3e737c | 2019-11-05 11:47:46 +0100 | [diff] [blame] | 80 | accessMode: ReadWriteOnce |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 81 | size: 1Gi |
| 82 | mountPath: /dockerdata-nfs |
| 83 | mountSubPath: log/elasticsearch/data |
| 84 | mountSubPathLogs: log |
| 85 | |
| 86 | service: |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 87 | type: NodePort |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 88 | name: log-es |
| 89 | externalPort: 9200 |
| 90 | internalPort: 9200 |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 91 | nodePort: 54 |
| 92 | type2: ClusterIP |
| 93 | name2: log-es-tcp |
| 94 | externalPort2: 9300 |
| 95 | internalPort2: 9300 |
| 96 | |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 97 | ingress: |
| 98 | enabled: false |
Lucjan Bryndza | d6322c8 | 2019-12-02 15:32:10 +0100 | [diff] [blame] | 99 | service: |
| 100 | - baseaddr: "loges" |
| 101 | name: "log-es" |
| 102 | port: 9200 |
| 103 | config: |
| 104 | ssl: "none" |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 105 | # Resource Limit flavor -By Default using small |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 106 | flavor: small |
| 107 | # Segregation for Different environment (Small and Large) |
| 108 | resources: |
| 109 | small: |
| 110 | limits: |
| 111 | cpu: 1 |
| 112 | memory: 4Gi |
| 113 | requests: |
| 114 | cpu: 1 |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 115 | memory: 2Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 116 | large: |
| 117 | limits: |
| 118 | cpu: 2 |
| 119 | memory: 8Gi |
| 120 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 121 | cpu: 1 |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 122 | memory: 4Gi |
Sylvain Desbureaux | a3e737c | 2019-11-05 11:47:46 +0100 | [diff] [blame] | 123 | unlimited: {} |