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