Deploying elastic agent apm server on kubernates from fleet server

i have setup a elasticsearch, kibana and fleet server with elasticsearch self signed certificates successfully, i have also deployed a apm integration on a server with fleet server.
the apm server listens on port http://my_apm_host.com:8200 without ssl. but conencts to fleet server on https with ssl certificate.
i have used follwoing flags while installing elastic agent
sudo ./elastic-agent install --url=https://fleet_server.com:8220 --enrollment-token=my_token==
--certificate-authorities=/path_to/ca.crt
--fleet-server-es-ca=/path_to/ca.crt
--insecure

my question is how do i integrate my kubernates enviroment with this fleet server. because i with kubernates deployment, i donot get these flags,
--certificate-authorities=/path_to/ca.crt
--fleet-server-es-ca=/path_to/ca.crt
--insecure

and how can i also deploy apm server as a daemonset in my kubernetes cluster.
thankyou.

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