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