github.com/microsoft/fabrikate@v1.0.0-alpha.1.0.20210115014322-dc09194d0885/testdata/generate/infra/fabrikate-jaeger/helm_repos/jaeger/charts/elasticsearch/values.yaml (about) 1 # Default values for elasticsearch. 2 # This is a YAML-formatted file. 3 # Declare variables to be passed into your templates. 4 appVersion: "6.8.6" 5 6 ## Define serviceAccount names for components. Defaults to component's fully qualified name. 7 ## 8 serviceAccounts: 9 client: 10 create: true 11 name: 12 master: 13 create: true 14 name: 15 data: 16 create: true 17 name: 18 19 ## Specify if a Pod Security Policy for node-exporter must be created 20 ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/ 21 ## 22 podSecurityPolicy: 23 enabled: false 24 annotations: {} 25 ## Specify pod annotations 26 ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#apparmor 27 ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp 28 ## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#sysctl 29 ## 30 # seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*' 31 # seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default' 32 # apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default' 33 34 securityContext: 35 enabled: false 36 runAsUser: 1000 37 38 ## Use an alternate scheduler, e.g. "stork". 39 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/ 40 ## 41 # schedulerName: "default-scheduler" 42 43 image: 44 repository: "docker.elastic.co/elasticsearch/elasticsearch-oss" 45 tag: "6.8.6" 46 pullPolicy: "IfNotPresent" 47 # If specified, use these secrets to access the image 48 # pullSecrets: 49 # - registry-secret 50 51 testFramework: 52 image: "dduportal/bats" 53 tag: "0.4.0" 54 55 initImage: 56 repository: "busybox" 57 tag: "latest" 58 pullPolicy: "Always" 59 60 cluster: 61 name: "elasticsearch" 62 # If you want X-Pack installed, switch to an image that includes it, enable this option and toggle the features you want 63 # enabled in the environment variables outlined in the README 64 xpackEnable: false 65 # Some settings must be placed in a keystore, so they need to be mounted in from a secret. 66 # Use this setting to specify the name of the secret 67 # keystoreSecret: eskeystore 68 config: {} 69 # Custom parameters, as string, to be added to ES_JAVA_OPTS environment variable 70 additionalJavaOpts: "" 71 # Command to run at the end of deployment 72 bootstrapShellCommand: "" 73 env: 74 # IMPORTANT: https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#minimum_master_nodes 75 # To prevent data loss, it is vital to configure the discovery.zen.minimum_master_nodes setting so that each master-eligible 76 # node knows the minimum number of master-eligible nodes that must be visible in order to form a cluster. 77 MINIMUM_MASTER_NODES: "2" 78 # List of plugins to install via dedicated init container 79 plugins: [] 80 # - ingest-attachment 81 # - mapper-size 82 83 loggingYml: 84 # you can override this using by setting a system property, for example -Des.logger.level=DEBUG 85 es.logger.level: INFO 86 rootLogger: ${es.logger.level}, console 87 logger: 88 # log action execution errors for easier debugging 89 action: DEBUG 90 # reduce the logging for aws, too much is logged under the default INFO 91 com.amazonaws: WARN 92 appender: 93 console: 94 type: console 95 layout: 96 type: consolePattern 97 conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" 98 99 log4j2Properties: | 100 status = error 101 appender.console.type = Console 102 appender.console.name = console 103 appender.console.layout.type = PatternLayout 104 appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n 105 rootLogger.level = info 106 rootLogger.appenderRef.console.ref = console 107 logger.searchguard.name = com.floragunn 108 logger.searchguard.level = info 109 110 client: 111 name: client 112 replicas: 2 113 serviceType: ClusterIP 114 ## If coupled with serviceType = "NodePort", this will set a specific nodePort to the client HTTP port 115 # httpNodePort: 30920 116 loadBalancerIP: {} 117 loadBalancerSourceRanges: {} 118 ## (dict) If specified, apply these annotations to the client service 119 # serviceAnnotations: 120 # example: client-svc-foo 121 heapSize: "512m" 122 # additionalJavaOpts: "-XX:MaxRAM=512m" 123 antiAffinity: "soft" 124 nodeAffinity: {} 125 nodeSelector: {} 126 tolerations: [] 127 # terminationGracePeriodSeconds: 60 128 initResources: {} 129 # limits: 130 # cpu: "25m" 131 # # memory: "128Mi" 132 # requests: 133 # cpu: "25m" 134 # memory: "128Mi" 135 resources: 136 limits: 137 cpu: "1" 138 # memory: "1024Mi" 139 requests: 140 cpu: "25m" 141 memory: "512Mi" 142 priorityClassName: "" 143 ## (dict) If specified, apply these annotations to each client Pod 144 # podAnnotations: 145 # example: client-foo 146 podDisruptionBudget: 147 enabled: false 148 minAvailable: 1 149 # maxUnavailable: 1 150 hooks: {} 151 ## (string) Script to execute prior the client pod stops. 152 # preStop: |- 153 154 ## (string) Script to execute after the client pod starts. 155 # postStart: |- 156 ingress: 157 enabled: false 158 # user: NAME 159 # password: PASSWORD 160 annotations: {} 161 # kubernetes.io/ingress.class: nginx 162 # kubernetes.io/tls-acme: "true" 163 path: / 164 hosts: 165 - chart-example.local 166 tls: [] 167 # - secretName: chart-example-tls 168 # hosts: 169 # - chart-example.local 170 171 master: 172 name: master 173 exposeHttp: false 174 replicas: 3 175 heapSize: "512m" 176 # additionalJavaOpts: "-XX:MaxRAM=512m" 177 persistence: 178 enabled: true 179 accessMode: ReadWriteOnce 180 name: data 181 size: "4Gi" 182 # storageClass: "ssd" 183 readinessProbe: 184 httpGet: 185 path: /_cluster/health?local=true 186 port: 9200 187 initialDelaySeconds: 5 188 antiAffinity: "soft" 189 nodeAffinity: {} 190 nodeSelector: {} 191 tolerations: [] 192 # terminationGracePeriodSeconds: 60 193 initResources: {} 194 # limits: 195 # cpu: "25m" 196 # # memory: "128Mi" 197 # requests: 198 # cpu: "25m" 199 # memory: "128Mi" 200 resources: 201 limits: 202 cpu: "1" 203 # memory: "1024Mi" 204 requests: 205 cpu: "25m" 206 memory: "512Mi" 207 priorityClassName: "" 208 ## (dict) If specified, apply these annotations to each master Pod 209 # podAnnotations: 210 # example: master-foo 211 podManagementPolicy: OrderedReady 212 podDisruptionBudget: 213 enabled: false 214 minAvailable: 2 # Same as `cluster.env.MINIMUM_MASTER_NODES` 215 # maxUnavailable: 1 216 updateStrategy: 217 type: OnDelete 218 hooks: {} 219 ## (string) Script to execute prior the master pod stops. 220 # preStop: |- 221 222 ## (string) Script to execute after the master pod starts. 223 # postStart: |- 224 225 data: 226 name: data 227 exposeHttp: false 228 replicas: 2 229 heapSize: "1536m" 230 # additionalJavaOpts: "-XX:MaxRAM=1536m" 231 persistence: 232 enabled: true 233 accessMode: ReadWriteOnce 234 name: data 235 size: "30Gi" 236 # storageClass: "ssd" 237 readinessProbe: 238 httpGet: 239 path: /_cluster/health?local=true 240 port: 9200 241 initialDelaySeconds: 5 242 terminationGracePeriodSeconds: 3600 243 antiAffinity: "soft" 244 nodeAffinity: {} 245 nodeSelector: {} 246 tolerations: [] 247 initResources: {} 248 # limits: 249 # cpu: "25m" 250 # # memory: "128Mi" 251 # requests: 252 # cpu: "25m" 253 # memory: "128Mi" 254 resources: 255 limits: 256 cpu: "1" 257 # memory: "2048Mi" 258 requests: 259 cpu: "25m" 260 memory: "1536Mi" 261 priorityClassName: "" 262 ## (dict) If specified, apply these annotations to each data Pod 263 # podAnnotations: 264 # example: data-foo 265 podDisruptionBudget: 266 enabled: false 267 # minAvailable: 1 268 maxUnavailable: 1 269 podManagementPolicy: OrderedReady 270 updateStrategy: 271 type: OnDelete 272 hooks: 273 ## Drain the node before stopping it and re-integrate it into the cluster after start. 274 ## When enabled, it supersedes `data.hooks.preStop` and `data.hooks.postStart` defined below. 275 drain: 276 enabled: true 277 278 ## (string) Script to execute prior the data pod stops. Ignored if `data.hooks.drain.enabled` is true (default) 279 # preStop: |- 280 # #!/bin/bash 281 # exec &> >(tee -a "/var/log/elasticsearch-hooks.log") 282 # NODE_NAME=${HOSTNAME} 283 # curl -s -XPUT -H 'Content-Type: application/json' '{{ template "elasticsearch.client.fullname" . }}:9200/_cluster/settings' -d "{ 284 # \"transient\" :{ 285 # \"cluster.routing.allocation.exclude._name\" : \"${NODE_NAME}\" 286 # } 287 # }" 288 # echo "Node ${NODE_NAME} is exluded from the allocation" 289 290 ## (string) Script to execute after the data pod starts. Ignored if `data.hooks.drain.enabled` is true (default) 291 # postStart: |- 292 # #!/bin/bash 293 # exec &> >(tee -a "/var/log/elasticsearch-hooks.log") 294 # NODE_NAME=${HOSTNAME} 295 # CLUSTER_SETTINGS=$(curl -s -XGET "http://{{ template "elasticsearch.client.fullname" . }}:9200/_cluster/settings") 296 # if echo "${CLUSTER_SETTINGS}" | grep -E "${NODE_NAME}"; then 297 # echo "Activate node ${NODE_NAME}" 298 # curl -s -XPUT -H 'Content-Type: application/json' "http://{{ template "elasticsearch.client.fullname" . }}:9200/_cluster/settings" -d "{ 299 # \"transient\" :{ 300 # \"cluster.routing.allocation.exclude._name\" : null 301 # } 302 # }" 303 # fi 304 # echo "Node ${NODE_NAME} is ready to be used" 305 306 ## Sysctl init container to setup vm.max_map_count 307 # see https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html 308 # and https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-configuration-memory.html#mlockall 309 sysctlInitContainer: 310 enabled: true 311 ## Chown init container to change ownership of data and logs directories to elasticsearch user 312 chownInitContainer: 313 enabled: true 314 ## Additional init containers 315 extraInitContainers: | 316 317 forceIpv6: false