helm: create a Helm chart for apm-server binary #11954
Draft
+163
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation/summary
WIP, experimental Helm chart for deploying APM Server standalone in Kubernetes, either as a Deployment+Service, or as a DaemonSet.
Each pod gets a volume for its data directory, defaulting to emptyDir but configurable through Helm values. The Helm chart generates a self-signed TLS certificate and a random secret token. The chart's values currently enable tail-based sampling by default for testing/demonstration purposes; this would be switched to disabled later.
Checklist
apmpackage
have been made)How to test these changes
helm install <name> ./helm --set elasticsearch.host=https://....es.elastic-cloud.com:443 --set elasticsearch.username=elastic --set elasticsearch.password=<password>
Related issues
#2107