apm-server
                                
                                 apm-server copied to clipboard
                                
                                    apm-server copied to clipboard
                            
                            
                            
                        Kubernetes guides
We recommend deploying APM Server using ECK. This issue is for tracking alternatives, following up on some requests - #929, elastic/apm-server#1244 - and confusion - apm-server as daemonset, provide guidance for running:
- [ ] apm-server as a daemonet along the lines of auditbeat, filebeat, and metricbeat
- [ ] apm-server as a deployment
- [ ] apm-server with helm
- [ ] application w/apm agent
First pass in #2112 covers daemonset and sidecar deployments, along with application w/apm agent instructions for each. Deployment/service configuration can follow later. Helm chart instructions will wait for https://github.com/elastic/helm-charts/issues/68 to be completed.
Any updates on apm-server deployment for kubernetes? similar to how we have detailed guide for filebeat - https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html
@sheeshmohsin have you seen APM Server on cloud-on-k8s? Let us know if that works for you.
@simitt seems like the APM Server on cloud-on-k8s cannot specify apm-server configuration like enable jaeger. right?
@IzekChen you can follow the APM Server on ECK custom configuration guide to set any custom APM Server configuration, e.g.
spec:
  ...
  config:
    apm-server.jaeger.grpc.enabled: true
You would also need to specify the port, so you would end up with a configuration similar to:
...
spec:
  ...
  config:
    apm-server.jaeger.grpc.enabled: true
    apm-server.jaeger.grpc.host: "0.0.0.0:14250"
  http:
    service:
      spec:
        ports:
          - name: http
            port: 8200
            targetPort: 8200
          - name: grpc
            port: 14250
            targetPort: 14250
Thanks to @charith-elastic for pointing this out.
@simitt Thank you for the information. I have managed to solve it. The reason why I think that is not working is that when I log into the container, I can see the default config apm-server.yaml but the actual one is under the path "/usr/share/apm-server/config/config-secret/", not at the path "/usr/share/apm-server/".
We'd probably add the information to the documentation
Any chance of getting a helm chart for deploying APM?
@cabrinha https://github.com/elastic/helm-charts/tree/7.13/apm-server