Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [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 | |
| 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 |
| 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
| 22 | |
| 23 | # application image |
| 24 | image: elasticsearch/elasticsearch:6.1.2 |
| 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
| 27 | |
| 28 | flavor: small |
| 29 | flavorOverride: small |
| 30 | |
| 31 | # application configuration |
| 32 | config: |
| 33 | tcpPort: 8443 |
| 34 | nodeKeyStore: esaai-keystore.jks |
| 35 | nodeKeyStorePassword: b87b46d3da7d3d4aadfe |
| 36 | adminKeyStore: sgadmin-keystore.p12 |
| 37 | adminKeyStorePassword: 341274302a70ad691e12 |
| 38 | trustStore: truststore.jks |
| 39 | trustStorePassword: b200926e9da205487f63 |
| 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 10 |
| 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 | type: ClusterIP |
| 62 | name: aai-elasticsearch |
| 63 | portName: aai-elasticsearch |
| 64 | internalPort: 9200 |
| 65 | portName2: aai-elasticsearch-tcp |
| 66 | internalPort2: 8443 |
| 67 | |
| 68 | ingress: |
| 69 | enabled: false |
| 70 | |
| 71 | persistence: |
| 72 | enabled: true |
| 73 | |
| 74 | ## A manually managed Persistent Volume and Claim |
| 75 | ## Requires persistence.enabled: true |
| 76 | ## If defined, PVC must be created manually before volume will be bound |
| 77 | # existingClaim: |
| 78 | volumeReclaimPolicy: Retain |
| 79 | |
| 80 | ## database data Persistent Volume Storage Class |
| 81 | ## If defined, storageClassName: <storageClass> |
| 82 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 83 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 84 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 85 | ## GKE, AWS & OpenStack) |
| 86 | ## |
| 87 | ## storageClass: "-" |
| 88 | accessMode: ReadWriteOnce |
| 89 | size: 2Gi |
| 90 | mountPath: /dockerdata-nfs |
| 91 | mountSubPath: aai/elasticsearch/data |
| 92 | |
| 93 | resources: |
| 94 | small: |
| 95 | limits: |
| 96 | cpu: 2 |
| 97 | memory: 4Gi |
| 98 | requests: |
| 99 | cpu: 0.5 |
| 100 | memory: 2Gi |
| 101 | large: |
| 102 | limits: |
| 103 | cpu: 4 |
| 104 | memory: 8Gi |
| 105 | requests: |
| 106 | cpu: 1 |
| 107 | memory: 4Gi |
| 108 | unlimited: {} |