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 |
Edwin Lawrance | a1dd587 | 2019-03-05 10:30:33 +0000 | [diff] [blame^] | 22 | image: onap/elasticsearch-sg:1.4-STAGING-latest |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 23 | pullPolicy: Always |
Edwin Lawrance | a1dd587 | 2019-03-05 10:30:33 +0000 | [diff] [blame^] | 24 | restartPolicy: Always |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 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 |
Edwin Lawrance | a1dd587 | 2019-03-05 10:30:33 +0000 | [diff] [blame^] | 31 | nodeKeyStore: esaai-keystore.jks |
| 32 | nodeKeyStorePassword: b87b46d3da7d3d4aadfe |
| 33 | adminKeyStore: sgadmin-keystore.p12 |
| 34 | adminKeyStorePassword: 341274302a70ad691e12 |
| 35 | trustStore: truststore.jks |
| 36 | trustStorePassword: b200926e9da205487f63 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 37 | |
| 38 | # default number of instances |
| 39 | replicaCount: 1 |
| 40 | |
| 41 | nodeSelector: {} |
| 42 | |
| 43 | affinity: {} |
| 44 | |
| 45 | # probe configuration parameters |
| 46 | liveness: |
| 47 | initialDelaySeconds: 10 |
| 48 | periodSeconds: 10 |
| 49 | # necessary to disable liveness probe when setting breakpoints |
| 50 | # in debugger so K8s doesn't restart unresponsive container |
| 51 | enabled: true |
| 52 | |
| 53 | readiness: |
| 54 | initialDelaySeconds: 10 |
| 55 | periodSeconds: 10 |
| 56 | |
| 57 | service: |
| 58 | type: ClusterIP |
| 59 | name: aai-elasticsearch |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 60 | portName: aai-elasticsearch |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 61 | internalPort: 9200 |
Edwin Lawrance | a1dd587 | 2019-03-05 10:30:33 +0000 | [diff] [blame^] | 62 | portName2: aai-elasticsearch-tcp |
| 63 | internalPort2: 8443 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 64 | |
| 65 | ingress: |
| 66 | enabled: false |
| 67 | |
| 68 | persistence: |
| 69 | enabled: true |
| 70 | |
| 71 | ## A manually managed Persistent Volume and Claim |
| 72 | ## Requires persistence.enabled: true |
| 73 | ## If defined, PVC must be created manually before volume will be bound |
| 74 | # existingClaim: |
| 75 | volumeReclaimPolicy: Retain |
| 76 | |
| 77 | ## database data Persistent Volume Storage Class |
| 78 | ## If defined, storageClassName: <storageClass> |
| 79 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 80 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 81 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 82 | ## GKE, AWS & OpenStack) |
| 83 | ## |
| 84 | ## storageClass: "-" |
| 85 | accessMode: ReadWriteMany |
| 86 | size: 2Gi |
| 87 | mountPath: /dockerdata-nfs |
| 88 | mountSubPath: aai/elasticsearch/data |
| 89 | |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 90 | resources: |
| 91 | small: |
| 92 | limits: |
| 93 | cpu: 2 |
| 94 | memory: 4Gi |
| 95 | requests: |
fpaquett | 62cd70d | 2018-11-30 13:15:48 -0500 | [diff] [blame] | 96 | cpu: 0.5 |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 97 | memory: 2Gi |
| 98 | large: |
| 99 | limits: |
| 100 | cpu: 4 |
| 101 | memory: 8Gi |
| 102 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame] | 103 | cpu: 1 |
| 104 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 105 | unlimited: {} |