BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Mukul | 7de56c8 | 2018-09-04 08:03:27 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [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 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 21 | persistence: {} |
| 22 | |
| 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | |
| 27 | # BusyBox image |
| 28 | busyboxRepository: registry.hub.docker.com |
| 29 | busyboxImage: library/busybox:latest |
| 30 | |
| 31 | # application image |
| 32 | loggingRepository: docker.elastic.co |
| 33 | image: elasticsearch/elasticsearch:5.5.0 |
| 34 | pullPolicy: Always |
| 35 | |
| 36 | # flag to enable debugging - application support required |
| 37 | debugEnabled: false |
| 38 | |
| 39 | # application configuration |
| 40 | # Example: |
| 41 | config: {} |
| 42 | |
| 43 | # default number of instances |
| 44 | replicaCount: 1 |
| 45 | |
| 46 | nodeSelector: {} |
| 47 | |
| 48 | affinity: {} |
| 49 | |
| 50 | # probe configuration parameters |
| 51 | liveness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 52 | initialDelaySeconds: 120 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 53 | periodSeconds: 10 |
| 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | enabled: true |
| 57 | |
| 58 | readiness: |
Michael O'Brien | ac60aaf | 2018-05-23 17:25:08 -0400 | [diff] [blame] | 59 | initialDelaySeconds: 120 |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 60 | periodSeconds: 10 |
| 61 | |
| 62 | ## Persist data to a persitent volume |
| 63 | persistence: |
| 64 | enabled: true |
| 65 | |
| 66 | ## A manually managed Persistent Volume and Claim |
| 67 | ## Requires persistence.enabled: true |
| 68 | ## If defined, PVC must be created manually before volume will be bound |
| 69 | # existingClaim: |
| 70 | volumeReclaimPolicy: Retain |
| 71 | |
| 72 | ## database data Persistent Volume Storage Class |
| 73 | ## If defined, storageClassName: <storageClass> |
| 74 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 75 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 76 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 77 | ## GKE, AWS & OpenStack) |
| 78 | accessMode: ReadWriteMany |
| 79 | size: 1Gi |
| 80 | mountPath: /dockerdata-nfs |
| 81 | mountSubPath: log/elasticsearch/data |
| 82 | mountSubPathLogs: log |
| 83 | |
| 84 | service: |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 85 | type: NodePort |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 86 | name: log-es |
| 87 | externalPort: 9200 |
| 88 | internalPort: 9200 |
BorislavG | 2cf2684 | 2018-04-08 17:50:07 +0300 | [diff] [blame] | 89 | nodePort: 54 |
| 90 | type2: ClusterIP |
| 91 | name2: log-es-tcp |
| 92 | externalPort2: 9300 |
| 93 | internalPort2: 9300 |
| 94 | |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 95 | ingress: |
| 96 | enabled: false |
| 97 | |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 98 | # Resource Limit flavor -By Default using small |
| 99 | flavor: small |
| 100 | # Segregation for Different environment (Small and Large) |
| 101 | resources: |
| 102 | small: |
| 103 | limits: |
| 104 | cpu: 1 |
| 105 | memory: 4Gi |
| 106 | requests: |
| 107 | cpu: 1 |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 108 | memory: 2Gi |
vaibhavjayas | 659fbae | 2018-09-19 08:58:10 +0000 | [diff] [blame] | 109 | large: |
| 110 | limits: |
| 111 | cpu: 2 |
| 112 | memory: 8Gi |
| 113 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 114 | cpu: 1 |
| 115 | memory: 4Gi |