Install the webhook with Helmedit

Install the webhook with Helm. Pass in your custom.yaml configuration file created in the previous step with the --values flag.

helm install [name] \ 
  elastic/apm-attacher \
  --namespace=elastic-apm \ 
  --create-namespace \
  --values custom.yaml

The name for the installed helm chart in Kubernetes.

The APM Attacher needs to be installed in a dedicated namespace. Any pods created in the same namespace as the attacher will be ignored.

helm upgrade ... can be used to upgrade an existing installation, eg if you have a new version of the custom.yaml configuration file.