Skip to content

Commit

Permalink
Make podTemplate documentation more general (elastic#3370)
Browse files Browse the repository at this point in the history
* Generalize podTemplate documentation
  • Loading branch information
barkbay authored and David Kowalski committed Jul 16, 2020
1 parent 708713d commit e13b6fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif::[]
[id="{p}-{page_id}"]
= Customize Pods

You can customize the Pods created for each Elasticsearch, Kibana, or APM Server resource by modifying the respective `podTemplate` field in the manifest. Pod templates allow you to define labels, annotations, environment variables, volume mounts, and other custom configuration settings that are then merged with the default Pod configuration generated by ECK to produce the final Pod definition that gets deployed to the Kubernetes cluster.
You can customize the Pods created for each Elastic stack application by modifying the respective `podTemplate` field in the manifest. Pod templates allow you to define labels, annotations, environment variables, volume mounts, and other custom configuration settings that are then merged with the default Pod configuration generated by ECK to produce the final Pod definition that gets deployed to the Kubernetes cluster.


The following example illustrates how to add a custom label, annotation, and an environment variable using the `podTemplate` field.
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
value: "true"
----

NOTE: APM Server configuration is identical to the Kibana configuration except for the `apiVersion` and `kind` fields.
NOTE: Configuration for other Elastic stack applications, like APM Server, Enterprise Search or Beats, 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.

Expand Down

0 comments on commit e13b6fd

Please sign in to comment.