agent.k8s.elastic.co/v1alpha1
editagent.k8s.elastic.co/v1alpha1
editPackage v1alpha1 contains API Schema definitions for the agent v1alpha1 API group
Resource Types
Agent
editAgent is the Schema for the Agents API.
Field | Description |
---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
|
AgentMode (string)
editAgentSpec
editAgentSpec defines the desired state of the Agent
Field | Description |
---|---|
|
Version of the Agent. |
|
ElasticsearchRefs is a reference to a list of Elasticsearch clusters running in the same Kubernetes cluster. Due to existing limitations, only a single ES cluster is currently supported. |
|
Image is the Agent Docker image to deploy. Version has to match the Agent in the image. |
|
Config holds the Agent configuration. At most one of [ |
|
ConfigRef contains a reference to an existing Kubernetes Secret holding the Agent configuration. Agent settings must be specified as yaml, under a single "agent.yml" entry. At most one of [ |
|
SecureSettings is a list of references to Kubernetes Secrets containing sensitive configuration options for the Agent. Secrets data can be then referenced in the Agent config using the Secret’s keys or as specified in |
|
ServiceAccountName is used to check access from the current resource to an Elasticsearch resource in a different namespace. Can only be used if ECK is enforcing RBAC on references. |
|
DaemonSet specifies the Agent should be deployed as a DaemonSet, and allows providing its spec. Cannot be used along with |
|
Deployment specifies the Agent should be deployed as a Deployment, and allows providing its spec. Cannot be used along with |
|
RevisionHistoryLimit is the number of revisions to retain to allow rollback in the underlying DaemonSet or Deployment. |
|
HTTP holds the HTTP layer configuration for the Agent in Fleet mode with Fleet Server enabled. |
|
Mode specifies the source of configuration for the Agent. The configuration can be specified locally through |
|
FleetServerEnabled determines whether this Agent will launch Fleet Server. Don’t set unless |
|
PolicyID determines into which Agent Policy this Agent will be enrolled. This field will become mandatory in a future release, default policies are deprecated since 8.1.0. |
|
KibanaRef is a reference to Kibana where Fleet should be set up and this Agent should be enrolled. Don’t set unless |
|
FleetServerRef is a reference to Fleet Server that this Agent should connect to to obtain it’s configuration. Don’t set unless |
DaemonSetSpec
editField | Description |
---|---|
|
|
|
DeploymentSpec
editField | Description |
---|---|
|
|
|
|
|
Output
editField | Description |
---|---|
|
|
|