Elastic Agent policies

Get a full K8s agent manifest

Spaces method and path for this operation:

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/kubernetes</span></div>

Refer to Spaces for more information.

Get the Kubernetes manifest for deploying Elastic Agent.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.

get/api/fleet/kubernetes

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/kubernetes
  • Auth
    • API key in header Authorization
    • or HTTP basic

Query parameters

downloadboolean

If true, returns the manifest as a downloadable file

fleetServerstring

Fleet Server host URL to include in the manifest

enrolTokenstring

Enrollment token to include in the manifest

Response

Successful response

itemstring required

Changes

No operation changes recorded.