# Why the apm-server config file cannot be updated automatically

**URL:** <https://discuss.elastic.co/t/why-the-apm-server-config-file-cannot-be-updated-automatically/227428>\
**Category:** APM\
**Created:** [April 10, 2020, 2:40am UTC](https://discuss.elastic.co/t/why-the-apm-server-config-file-cannot-be-updated-automatically/227428 "2020-04-10T02:40:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [April 10, 2020, 2:40am UTC](https://discuss.elastic.co/t/why-the-apm-server-config-file-cannot-be-updated-automatically/227428/1 "2020-04-10T02:40:41Z")

</div>

like logstash \>\> config.reload.automatic: true

Under kubernetes, when I want to update the configmap, the apm-server container cannot automatically load the latest config

```
    volumeMounts:
    - name: apm-server-config
      mountPath: /usr/share/apm-server/apm-server.yml
      readOnly: true
      subPath: apm-server.yml
  volumes:
  - name: apm-server-config
    configMap:
      name: apm-server-config
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 30, 2020, 10:40pm UTC](https://discuss.elastic.co/t/why-the-apm-server-config-file-cannot-be-updated-automatically/227428/2 "2020-04-30T22:40:44Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
