# \[ECK\] Clarification on APM Server resource management - What's handled by the operator vs manual configuration?

**URL:** <https://discuss.elastic.co/t/eck-clarification-on-apm-server-resource-management-whats-handled-by-the-operator-vs-manual-configuration/370178>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** elastic-stack-monitoring, elastic-stack-alerting, docker\
**Created:** [November 7, 2024, 4:51pm UTC](https://discuss.elastic.co/t/eck-clarification-on-apm-server-resource-management-whats-handled-by-the-operator-vs-manual-configuration/370178 "2024-11-07T16:51:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hadj\_Hassine\_Younes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hadj_hassine_younes/32/136002_2.png) [@Hadj\_Hassine\_Younes](https://discuss.elastic.co/u/Hadj_Hassine_Younes)\
**Post date:** [November 7, 2024, 4:51pm UTC](https://discuss.elastic.co/t/eck-clarification-on-apm-server-resource-management-whats-handled-by-the-operator-vs-manual-configuration/370178/1 "2024-11-07T16:51:08Z")

</div>

**Kibana version** : 8.14.3  
**Elasticsearch version** : 8.14.3  
**APM Server version** : 8.14.3  
**Original install method** : Migrating from Helm chart to ECK operator (eck-stack helm chart version 0.12.1)  
**Fresh install or upgraded** : Migration from classic helm deployment to ECK

**Is there anything special in your setup?**  
Currently using classic helm deployment with following resources:

- clusterrole/clusterrolebinding
- configmap
- deployment
- service
- serviceaccount
- ingress
- hpa

Planning to migrate to ECK-managed APM Server using eck-apm-server CRD.

**Description of the problem including expected versus actual behavior:**  
Need clarification on which Kubernetes resources are automatically managed by the ECK operator versus which need manual management.

Current understanding is that ECK manages core resources through the CRD spec:

```yaml
eck-apm-server:
  spec:
    config: {...} # Replaces configmap
    podTemplate: {...} # Pod/deployment specs
    http: {...} # Service configuration

```

**Specific questions:**

1. Are RBAC resources (clusterrole/binding) automatically created and managed by the operator?
2. Is HPA configuration supported through the CRD spec or needs separate resource?
3. What resources still require manual creation/management?

**Steps to reproduce:**

1. Have classic APM Server helm deployment with all resources listed above
2. Migrating to ECK operator using eck-apm-server CRD
3. Need to understand which resources to keep/create manually vs let operator manage

Would appreciate clarification on the operator's scope of resource management to ensure proper migration. Thank you!

---

<div class="post-metadata">

**Author:** ![Hadj\_Hassine\_Younes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hadj_hassine_younes/32/136002_2.png) [@Hadj\_Hassine\_Younes](https://discuss.elastic.co/u/Hadj_Hassine_Younes)\
**Post date:** [November 7, 2024, 8:15pm UTC](https://discuss.elastic.co/t/eck-clarification-on-apm-server-resource-management-whats-handled-by-the-operator-vs-manual-configuration/370178/2 "2024-11-07T20:15:00Z")

</div>

From #APM to #Elastic Cloud on Kubernetes (ECK)

---

<div class="post-metadata">

**Author:** ![Hadj\_Hassine\_Younes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hadj_hassine_younes/32/136002_2.png) [@Hadj\_Hassine\_Younes](https://discuss.elastic.co/u/Hadj_Hassine_Younes)\
**Post date:** [November 7, 2024, 8:15pm UTC](https://discuss.elastic.co/t/eck-clarification-on-apm-server-resource-management-whats-handled-by-the-operator-vs-manual-configuration/370178/3 "2024-11-07T20:15:00Z")

</div>

Removed #agent-explorer, #docker, #elastic-stack-alerting, #elastic-stack-monitoring, #elastic-stack-security

---

<div class="post-metadata">

**Author:** ![Hadj\_Hassine\_Younes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hadj_hassine_younes/32/136002_2.png) [@Hadj\_Hassine\_Younes](https://discuss.elastic.co/u/Hadj_Hassine_Younes)\
**Post date:** [November 7, 2024, 8:15pm UTC](https://discuss.elastic.co/t/eck-clarification-on-apm-server-resource-management-whats-handled-by-the-operator-vs-manual-configuration/370178/4 "2024-11-07T20:15:47Z")

</div>

Added #docker, #elastic-stack-alerting, #elastic-stack-monitoring
