Geora Barsky | a3f067c | 2018-07-19 16:46:37 -0400 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | persistence: {} |
| 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | |
| 26 | # BusyBox image |
| 27 | busyboxRepository: registry.hub.docker.com |
| 28 | busyboxImage: library/busybox:latest |
| 29 | |
| 30 | # application image |
| 31 | loggingRepository: docker.elastic.co |
Norm Traxler | cc19c70 | 2019-03-27 20:36:47 +0100 | [diff] [blame] | 32 | image: elasticsearch/elasticsearch:6.6.2 |
Geora Barsky | a3f067c | 2018-07-19 16:46:37 -0400 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
| 38 | # application configuration |
| 39 | # Example: |
| 40 | config: {} |
| 41 | |
| 42 | # default number of instances |
| 43 | replicaCount: 1 |
| 44 | |
| 45 | nodeSelector: {} |
| 46 | |
| 47 | affinity: {} |
| 48 | |
| 49 | # probe configuration parameters |
| 50 | liveness: |
| 51 | initialDelaySeconds: 120 |
| 52 | periodSeconds: 10 |
| 53 | # necessary to disable liveness probe when setting breakpoints |
| 54 | # in debugger so K8s doesn't restart unresponsive container |
| 55 | enabled: true |
| 56 | |
| 57 | readiness: |
| 58 | initialDelaySeconds: 120 |
| 59 | periodSeconds: 10 |
| 60 | |
| 61 | ## Persist data to a persitent volume |
| 62 | persistence: |
| 63 | enabled: true |
| 64 | |
| 65 | ## A manually managed Persistent Volume and Claim |
| 66 | ## Requires persistence.enabled: true |
| 67 | ## If defined, PVC must be created manually before volume will be bound |
| 68 | # existingClaim: |
| 69 | volumeReclaimPolicy: Retain |
| 70 | |
| 71 | ## database data Persistent Volume Storage Class |
| 72 | ## If defined, storageClassName: <storageClass> |
| 73 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 74 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 75 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 76 | ## GKE, AWS & OpenStack) |
| 77 | accessMode: ReadWriteMany |
| 78 | size: 1Gi |
| 79 | mountPath: /dockerdata-nfs |
| 80 | mountSubPath: pomba/elasticsearch/data |
| 81 | mountSubPathLogs: pomba |
| 82 | |
| 83 | service: |
| 84 | type: ClusterIP |
| 85 | name: pomba-es |
| 86 | externalPort: 9200 |
| 87 | internalPort: 9200 |
| 88 | type2: ClusterIP |
| 89 | name2: pomba-es-tcp |
| 90 | externalPort2: 9300 |
| 91 | internalPort2: 9300 |
| 92 | |
| 93 | ingress: |
| 94 | enabled: false |
| 95 | |
jmac | af645b5 | 2018-10-11 12:21:54 +0000 | [diff] [blame] | 96 | # Resource Limit flavor -By Default using small |
| 97 | flavor: small |
| 98 | # Segregation for Different environment (Small and Large) |
| 99 | resources: |
| 100 | small: |
| 101 | limits: |
| 102 | cpu: 2 |
| 103 | memory: 3Gi |
| 104 | requests: |
| 105 | cpu: 1 |
| 106 | memory: 1.5Gi |
| 107 | large: |
| 108 | limits: |
| 109 | cpu: 4 |
| 110 | memory: 6Gi |
| 111 | requests: |
| 112 | cpu: 2 |
| 113 | memory: 3Gi |
| 114 | unlimited: {} |