Extend K8S and RIC installation instructions
[it/dep.git] / ric-aux / 80-Auxiliary-Functions / helm / mc-stack / charts / elasticsearch / values.yaml
1 ################################################################################
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #
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 ---
18 clusterName: "elasticsearch"
19 nodeGroup: "master"
20
21 # The service that non master groups will try to connect to when joining the cluster
22 # This should be set to clusterName + "-" + nodeGroup for your master group
23 masterService: ""
24
25 # Elasticsearch roles that will be applied to this nodeGroup
26 # These will be set as environment variables. E.g. node.master=true
27 roles:
28   master: "true"
29   ingest: "true"
30   data: "true"
31
32 replicas: 1
33 minimumMasterNodes: 1
34
35 esMajorVersion: ""
36
37 # Allows you to add any config files in /usr/share/elasticsearch/config/
38 # such as elasticsearch.yml and log4j2.properties
39 esConfig: {}
40 #  elasticsearch.yml: |
41 #    key:
42 #      nestedkey: value
43 #  log4j2.properties: |
44 #    key = value
45
46 # Extra environment variables to append to this nodeGroup
47 # This will be appended to the current 'env:' key. You can use any of the kubernetes env
48 # syntax here
49 extraEnvs: []
50 #  - name: MY_ENVIRONMENT_VAR
51 #    value: the_value_goes_here
52
53 # A list of secrets and their paths to mount inside the pod
54 # This is useful for mounting certificates for security and for mounting
55 # the X-Pack license
56 secretMounts: []
57 #  - name: elastic-certificates
58 #    secretName: elastic-certificates
59 #    path: /usr/share/elasticsearch/config/certs
60
61 image: "docker.elastic.co/elasticsearch/elasticsearch"
62 imageTag: "7.3.0"
63 imagePullPolicy: "IfNotPresent"
64
65 podAnnotations: {}
66   # iam.amazonaws.com/role: es-cluster
67
68 # additionals labels
69 labels: {}
70
71 esJavaOpts: "-Xmx1g -Xms1g"
72
73 resources:
74   requests:
75     cpu: "100m"
76     memory: "2Gi"
77   limits:
78     cpu: "1000m"
79     memory: "2Gi"
80
81 initResources: {}
82   # limits:
83   #   cpu: "25m"
84   #   # memory: "128Mi"
85   # requests:
86   #   cpu: "25m"
87   #   memory: "128Mi"
88
89 sidecarResources: {}
90   # limits:
91   #   cpu: "25m"
92   #   # memory: "128Mi"
93   # requests:
94   #   cpu: "25m"
95   #   memory: "128Mi"
96
97 networkHost: "0.0.0.0"
98
99 volumeClaimTemplate:
100   accessModes: [ "ReadWriteOnce" ]
101   resources:
102     requests:
103       storage: 30Gi
104
105 persistence:
106   enabled: false
107   annotations: {}
108
109 extraVolumes: []
110   # - name: extras
111   #   emptyDir: {}
112
113 extraVolumeMounts: []
114   # - name: extras
115   #   mountPath: /usr/share/extras
116   #   readOnly: true
117
118 extraInitContainers: []
119   # - name: do-something
120   #   image: busybox
121   #   command: ['do', 'something']
122
123 # This is the PriorityClass settings as defined in
124 # https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
125 priorityClassName: ""
126
127 # By default this will make sure two pods don't end up on the same node
128 # Changing this to a region would allow you to spread pods across regions
129 antiAffinityTopologyKey: "kubernetes.io/hostname"
130
131 # Hard means that by default pods will only be scheduled if there are enough nodes for them
132 # and that they will never end up on the same node. Setting this to soft will do this "best effort"
133 antiAffinity: "hard"
134
135 # This is the node affinity settings as defined in
136 # https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
137 nodeAffinity: {}
138
139 # The default is to deploy all pods serially. By setting this to parallel all pods are started at
140 # the same time when bootstrapping the cluster
141 podManagementPolicy: "Parallel"
142
143 protocol: http
144 httpPort: 9200
145 transportPort: 9300
146
147 service:
148   type: ClusterIP
149   nodePort:
150   annotations: {}
151
152 updateStrategy: RollingUpdate
153
154 # This is the max unavailable setting for the pod disruption budget
155 # The default value of 1 will make sure that kubernetes won't allow more than 1
156 # of your pods to be unavailable during maintenance
157 maxUnavailable: 1
158
159 podSecurityContext:
160   fsGroup: 1000
161
162 # The following value is deprecated,
163 # please use the above podSecurityContext.fsGroup instead
164 fsGroup: ""
165
166 securityContext:
167   capabilities:
168     drop:
169     - ALL
170   # readOnlyRootFilesystem: true
171   runAsNonRoot: true
172   runAsUser: 1000
173
174 # How long to wait for elasticsearch to stop gracefully
175 terminationGracePeriod: 120
176
177 sysctlVmMaxMapCount: 262144
178
179 readinessProbe:
180   failureThreshold: 3
181   initialDelaySeconds: 10
182   periodSeconds: 10
183   successThreshold: 3
184   timeoutSeconds: 5
185
186 # https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html#request-params wait_for_status
187 clusterHealthCheckParams: "wait_for_status=green&timeout=1s"
188
189 ## Use an alternate scheduler.
190 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
191 ##
192 schedulerName: ""
193
194 imagePullSecrets: []
195 nodeSelector: {}
196 tolerations: []
197
198 # Enabling this will publically expose your Elasticsearch instance.
199 # Only enable this if you have security enabled on your cluster
200 ingress:
201   enabled: false
202   annotations: {}
203     # kubernetes.io/ingress.class: nginx
204     # kubernetes.io/tls-acme: "true"
205   path: /
206   hosts:
207     - chart-example.local
208   tls: []
209   #  - secretName: chart-example-tls
210   #    hosts:
211   #      - chart-example.local
212
213 nameOverride: ""
214 fullnameOverride: ""
215
216 # https://github.com/elastic/helm-charts/issues/63
217 masterTerminationFix: false
218
219 lifecycle: {}
220   # preStop:
221   #   exec:
222   #     command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
223   # postStart:
224   #   exec:
225   #     command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
226
227 sysctlInitContainer:
228   enabled: true