Skip to content

Commit

Permalink
Add documentation re. init containers customization (#3369)
Browse files Browse the repository at this point in the history
  • Loading branch information
barkbay authored Jul 2, 2020
1 parent b74e309 commit 133e445
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,34 @@ spec:

NOTE: APM Server configuration is identical to the Kibana configuration except for the `apiVersion` and `kind` fields.

The example below shows how it's also possible to customize the init containers created as part of the Pods to initialize the filesystem or to manage the keystores.

[source,yaml,subs="attributes,callouts"]
----
apiVersion: elasticsearch.k8s.elastic.co/{eck_crd_version}
kind: Elasticsearch
metadata:
name: quickstart
spec:
version: {version}
nodeSets:
- name: default
count: 3
podTemplate:
spec:
initContainers:
- name: elastic-internal-init-keystore
resources: # override the default resources set by the operator
limits:
cpu: 1000m
memory: 368Mi
requests:
cpu: 1000m
memory: 368Mi
secureSettings:
- secretName: es-secret
----

[float]
== More examples

Expand Down

0 comments on commit 133e445

Please sign in to comment.