toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | # Default values for elasticsearch. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 20 | |
| 21 | # application image |
| 22 | dockerhubRepository: docker.io |
| 23 | image: elasticsearch:2.4.1 |
| 24 | pullPolicy: Always |
| 25 | |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 26 | flavor: small |
| 27 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 28 | # application configuration |
| 29 | config: |
| 30 | tcpPort: 8443 |
| 31 | |
| 32 | |
| 33 | # default number of instances |
| 34 | replicaCount: 1 |
| 35 | |
| 36 | nodeSelector: {} |
| 37 | |
| 38 | affinity: {} |
| 39 | |
| 40 | # probe configuration parameters |
| 41 | liveness: |
| 42 | initialDelaySeconds: 10 |
| 43 | periodSeconds: 10 |
| 44 | # necessary to disable liveness probe when setting breakpoints |
| 45 | # in debugger so K8s doesn't restart unresponsive container |
| 46 | enabled: true |
| 47 | |
| 48 | readiness: |
| 49 | initialDelaySeconds: 10 |
| 50 | periodSeconds: 10 |
| 51 | |
| 52 | service: |
| 53 | type: ClusterIP |
| 54 | name: aai-elasticsearch |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 55 | portName: aai-elasticsearch |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 56 | internalPort: 9200 |
| 57 | |
| 58 | ingress: |
| 59 | enabled: false |
| 60 | |
| 61 | persistence: |
| 62 | enabled: true |
| 63 | |
| 64 | ## A manually managed Persistent Volume and Claim |
| 65 | ## Requires persistence.enabled: true |
| 66 | ## If defined, PVC must be created manually before volume will be bound |
| 67 | # existingClaim: |
| 68 | volumeReclaimPolicy: Retain |
| 69 | |
| 70 | ## database data Persistent Volume Storage Class |
| 71 | ## If defined, storageClassName: <storageClass> |
| 72 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 73 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 74 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 75 | ## GKE, AWS & OpenStack) |
| 76 | ## |
| 77 | ## storageClass: "-" |
| 78 | accessMode: ReadWriteMany |
| 79 | size: 2Gi |
| 80 | mountPath: /dockerdata-nfs |
| 81 | mountSubPath: aai/elasticsearch/data |
| 82 | |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 83 | resources: |
| 84 | small: |
| 85 | limits: |
| 86 | cpu: 2 |
| 87 | memory: 4Gi |
| 88 | requests: |
| 89 | cpu: 1 |
| 90 | memory: 2Gi |
| 91 | large: |
| 92 | limits: |
| 93 | cpu: 4 |
| 94 | memory: 8Gi |
| 95 | requests: |
| 96 | cpu: 4 |
| 97 | memory: 8Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 98 | unlimited: {} |