toshrajbhardwaj | 84d73b1 | 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 | 6a8ce80 | 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 | 6a8ce80 | 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 | 47c1de3 | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 26 | flavor: small |
| 27 | |
kj | 6a8ce80 | 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 | e750068 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 55 | portName: aai-elasticsearch |
kj | 6a8ce80 | 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 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 83 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 84 | # choice for the user. This also increases chances charts run on environments with little |
| 85 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 86 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 87 | # |
| 88 | # Example: |
| 89 | # Configure resource requests and limits |
| 90 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 91 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 92 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 93 | #resources: |
| 94 | # limits: |
| 95 | # cpu: 2 |
| 96 | # memory: 4Gi |
| 97 | # requests: |
| 98 | # cpu: 2 |
| 99 | # memory: 4Gi |
rajeshkalai | 47c1de3 | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 100 | resources: |
| 101 | small: |
| 102 | limits: |
| 103 | cpu: 2 |
| 104 | memory: 4Gi |
| 105 | requests: |
| 106 | cpu: 1 |
| 107 | memory: 2Gi |
| 108 | large: |
| 109 | limits: |
| 110 | cpu: 4 |
| 111 | memory: 8Gi |
| 112 | requests: |
| 113 | cpu: 4 |
| 114 | memory: 8Gi |