Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T, ZTE |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [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 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | ubuntuInitRepository: oomk8s |
| 26 | ubuntuInitImage: ubuntu-init:1.0.0 |
| 27 | |
| 28 | |
| 29 | ################################################################# |
| 30 | # Application configuration defaults. |
| 31 | ################################################################# |
| 32 | # application image |
| 33 | repository: nexus3.onap.org:10001 |
Gary Wu | 5329f1f | 2018-10-22 20:33:07 -0700 | [diff] [blame] | 34 | image: onap/sdc-elasticsearch:1.3.0 |
| 35 | elasticInitImage: onap/sdc-init-elasticsearch:1.3.0 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 36 | pullPolicy: Always |
| 37 | |
| 38 | # flag to enable debugging - application support required |
| 39 | debugEnabled: false |
| 40 | |
| 41 | # application configuration |
| 42 | config: |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 43 | JvmHeapSize: "1024M" |
| 44 | JvmOptions: "-Xms512m -Xmx512m" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 45 | |
| 46 | # default number of instances |
| 47 | replicaCount: 1 |
| 48 | |
| 49 | nodeSelector: {} |
| 50 | |
| 51 | affinity: {} |
| 52 | |
| 53 | # probe configuration parameters |
| 54 | liveness: |
Areli, Fuss (af732p) | d6f2e9e | 2018-11-04 16:29:40 +0200 | [diff] [blame] | 55 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 56 | periodSeconds: 10 |
| 57 | # necessary to disable liveness probe when setting breakpoints |
| 58 | # in debugger so K8s doesn't restart unresponsive container |
| 59 | enabled: true |
| 60 | |
| 61 | readiness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 62 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 63 | periodSeconds: 10 |
| 64 | |
| 65 | service: |
| 66 | type: ClusterIP |
| 67 | name: sdc-es |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 68 | portName: sdc-es |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 69 | externalPort: 9200 |
| 70 | internalPort: 9200 |
| 71 | externalPort2: 9300 |
| 72 | internalPort2: 9300 |
| 73 | |
| 74 | ## Persist data to a persitent volume |
| 75 | persistence: |
| 76 | enabled: true |
| 77 | |
| 78 | ## A manually managed Persistent Volume and Claim |
| 79 | ## Requires persistence.enabled: true |
| 80 | ## If defined, PVC must be created manually before volume will be bound |
| 81 | # existingClaim: |
| 82 | volumeReclaimPolicy: Retain |
| 83 | |
| 84 | ## database data Persistent Volume Storage Class |
| 85 | ## If defined, storageClassName: <storageClass> |
| 86 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 87 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 88 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 89 | ## GKE, AWS & OpenStack) |
| 90 | ## |
| 91 | # storageClass: "-" |
| 92 | accessMode: ReadWriteMany |
| 93 | size: 2Gi |
| 94 | mountPath: /dockerdata-nfs |
| 95 | mountSubPath: /sdc/sdc-es/ES |
| 96 | |
| 97 | ingress: |
| 98 | enabled: false |
| 99 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 100 | # Resource Limit flavor -By Default using small |
| 101 | flavor: small |
| 102 | # Segregation for Different environment (Small and Large) |
| 103 | resources: |
| 104 | small: |
| 105 | limits: |
| 106 | cpu: 1 |
| 107 | memory: 4Gi |
| 108 | requests: |
| 109 | cpu: 10m |
| 110 | memory: 1Gi |
| 111 | large: |
| 112 | limits: |
| 113 | cpu: 2 |
| 114 | memory: 8Gi |
| 115 | requests: |
| 116 | cpu: 20m |
| 117 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 118 | unlimited: {} |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 119 | |