Run Elastic Agent on GKE managed by Fleet
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
Follow the steps to run the Elastic Agent on Run Elastic Agent on Kubernetes managed by Fleet page.
On managed Kubernetes solutions like GKE, Elastic Agent has no access to several data sources. Find below the list of the non-available data:
- Metrics from Kubernetes control plane components are not available. Consequently, metrics are not available for
kube-schedulerandkube-controller-managercomponents. In this regard, the respective dashboards will not be populated with data. - Audit logs are available only on Kubernetes master nodes as well, hence cannot be collected by Elastic Agent.
Although autopilot removes many administration challenges (such as workload management or deployment automation of kubernetes clusters), it additionally restricts access to specific namespaces (that is, kube-system) and host paths which is the reason that default Elastic Agent manifests would not work.
Specific manifests are provided to cover Autopilot environments.
kube-state-metrics also must be installed to another namespace rather than the default as access to kube-system is not allowed.
- Blog Using Elastic to observe GKE Autopilot clusters
- Elastic speakers webinar: "Get full Kubernetes visibility into GKE Autopilot with Elastic Observability"