Grzegorz-Lis | c3a7cf6 | 2020-11-09 09:59:53 +0000 | [diff] [blame] | 1 | # Copyright (c) 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies |
| 2 | # Modification Copyright (c) 2020 Nokia |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +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 | |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
| 22 | backup: |
| 23 | mountPath: /dockerdata-nfs/backup |
| 24 | storageClass: |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 25 | |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
Sylvain Desbureaux | 829344b | 2020-11-19 17:07:26 +0100 | [diff] [blame] | 29 | |
| 30 | cluster_name: onap |
| 31 | |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 32 | ## Init containers parameters: |
| 33 | sysctlImage: |
| 34 | enabled: true |
| 35 | ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section. |
| 36 | volumePermissions: |
| 37 | enabled: true |
| 38 | |
| 39 | # application image |
| 40 | ## Elasticsearch master-eligible node parameters |
| 41 | ## |
| 42 | name: master |
| 43 | ## Number of master-eligible node(s) replicas to deploy |
| 44 | ## |
| 45 | replicaCount: 3 |
| 46 | ## master acts as master only node, choose 'no' if no further data nodes are deployed) |
Sylvain Desbureaux | 447735b | 2020-10-20 10:47:05 +0200 | [diff] [blame] | 47 | dedicatednode: 'yes' |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 48 | ## dedicatednode: "no" |
Grzegorz-Lis | c3a7cf6 | 2020-11-09 09:59:53 +0000 | [diff] [blame] | 49 | image: bitnami/elasticsearch:7.9.3 |
Alexander Dehn | c2a3686 | 2020-09-02 11:48:20 +0000 | [diff] [blame] | 50 | ## Specify a imagePullPolicy |
| 51 | ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' |
| 52 | ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images |
| 53 | ## |
| 54 | pullPolicy: IfNotPresent |
| 55 | ## Optionally specify an array of imagePullSecrets. |
| 56 | ## Secrets must be manually created in the namespace. |
| 57 | ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| 58 | ## |
| 59 | # pullSecrets: |
| 60 | # - myRegistryKeySecretName |
| 61 | ## Set to true if you would like to see extra information on logs |
| 62 | ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging |
| 63 | ## |
| 64 | debug: false |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 65 | |
| 66 | ## String to partially override common.fullname template (will maintain the release name) |
| 67 | ## |
| 68 | # nameOverride: |
| 69 | |
| 70 | ## String to fully override common.fullname template |
| 71 | ## |
| 72 | # fullnameOverride: |
| 73 | ## updateStrategy for ElasticSearch master statefulset |
| 74 | ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies |
| 75 | ## |
| 76 | updateStrategy: |
| 77 | type: RollingUpdate |
| 78 | heapSize: 128m |
| 79 | ## Provide annotations for master-eligible pods. |
| 80 | ## |
| 81 | podAnnotations: {} |
| 82 | ## Pod Security Context for master-eligible pods. |
| 83 | ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| 84 | ## |
| 85 | securityContext: |
| 86 | enabled: true |
| 87 | fsGroup: 1001 |
| 88 | runAsUser: 1001 |
| 89 | ## Affinity for pod assignment. |
| 90 | ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
| 91 | ## |
| 92 | affinity: {} |
| 93 | ## Node labels for pod assignment. Evaluated as a template. |
| 94 | ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| 95 | ## |
| 96 | nodeSelector: {} |
| 97 | ## Tolerations for pod assignment. Evaluated as a template. |
| 98 | ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| 99 | ## |
| 100 | tolerations: [] |
| 101 | ## Elasticsearch master-eligible container's resource requests and limits |
| 102 | ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 103 | ## |
| 104 | resources: |
| 105 | ## We usually recommend not to specify default resources and to leave this as a conscious |
| 106 | ## choice for the user. This also increases chances charts run on environments with little |
| 107 | ## resources, such as Minikube. |
Sylvain Desbureaux | 447735b | 2020-10-20 10:47:05 +0200 | [diff] [blame] | 108 | limits: |
Sylvain Desbureaux | ddb27d6 | 2020-10-29 21:49:21 +0100 | [diff] [blame] | 109 | cpu: 250m |
| 110 | memory: 1536Mi |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 111 | # cpu: 100m |
| 112 | # memory: 128Mi |
| 113 | requests: |
Sylvain Desbureaux | 447735b | 2020-10-20 10:47:05 +0200 | [diff] [blame] | 114 | cpu: 5m |
| 115 | memory: 310Mi |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 116 | ## Elasticsearch master-eligible container's liveness and readiness probes |
| 117 | ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes |
| 118 | ## |
| 119 | livenessProbe: |
| 120 | enabled: false |
| 121 | # initialDelaySeconds: 90 |
| 122 | # periodSeconds: 10 |
| 123 | # timeoutSeconds: 5 |
| 124 | # successThreshold: 1 |
| 125 | # failureThreshold: 5 |
| 126 | readinessProbe: |
| 127 | enabled: false |
| 128 | # initialDelaySeconds: 90 |
| 129 | # periodSeconds: 10 |
| 130 | # timeoutSeconds: 5 |
| 131 | # successThreshold: 1 |
| 132 | # failureThreshold: 5 |
| 133 | ## Enable persistence using Persistent Volume Claims |
| 134 | ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ |
| 135 | ## |
| 136 | persistence: |
| 137 | ## If true, use a Persistent Volume Claim, If false, use emptyDir |
| 138 | ## |
| 139 | enabled: true |
| 140 | ## suffix for pv |
| 141 | suffix: master-pv |
| 142 | ## Persistent Volume Storage Class |
| 143 | ## If defined, storageClassName: <storageClass> |
| 144 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 145 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 146 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 147 | ## GKE, AWS & OpenStack) |
| 148 | ## |
| 149 | # storageClass: "-" |
| 150 | ## Persistent Volume Claim annotations |
| 151 | ## |
| 152 | annotations: {} |
| 153 | ## Persistent Volume Access Mode |
| 154 | ## |
| 155 | accessMode: ReadWriteOnce |
| 156 | ## Persistent Volume size |
| 157 | ## |
| 158 | size: 8Gi |
| 159 | # existingClaim: |
| 160 | volumeReclaimPolicy: Retain |
| 161 | mountSubPath: elastic-master |
| 162 | storageType: local |
| 163 | backup: |
| 164 | mountPath: /dockerdata-nfs/backup |
| 165 | ## Service parameters for master-eligible node(s) |
| 166 | ## |
| 167 | service: |
Sylvain Desbureaux | 447735b | 2020-10-20 10:47:05 +0200 | [diff] [blame] | 168 | suffix: 'service' |
| 169 | name: '' |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 170 | ## list of ports for "common.containerPorts" |
| 171 | ## Elasticsearch transport port |
| 172 | ports: |
Sylvain Desbureaux | 447735b | 2020-10-20 10:47:05 +0200 | [diff] [blame] | 173 | - name: http-transport |
| 174 | port: 9300 |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 175 | ## master-eligible service type |
| 176 | ## |
| 177 | type: ClusterIP |
| 178 | ## Specify the nodePort value for the LoadBalancer and NodePort service types. |
| 179 | ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport |
| 180 | ## |
| 181 | # nodePort: |
| 182 | ## Provide any additional annotations which may be required. This can be used to |
| 183 | ## set the LoadBalancer service type to internal only. |
| 184 | ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| 185 | ## |
| 186 | annotations: {} |
| 187 | ## Set the LoadBalancer service type to internal only. |
| 188 | ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer |
| 189 | ## |
| 190 | # loadBalancerIP: |
| 191 | ## Provide functionality to use RBAC |
| 192 | ## |
| 193 | serviceAccount: |
| 194 | ## Specifies whether a ServiceAccount should be created for the master node |
| 195 | create: false |
| 196 | ## The name of the ServiceAccount to use. |
| 197 | ## If not set and create is true, a name is generated using the fullname template |
| 198 | # name: |
| 199 | |
Alexander Dehn | ab86ec1 | 2020-02-05 14:38:54 +0000 | [diff] [blame] | 200 | ## Elasticsearch cluster name |
| 201 | ## |
| 202 | clusterName: elastic-cluster |