agent.k8s.elastic.co/v1alpha1edit

Package v1alpha1 contains API Schema definitions for the agent v1alpha1 API group

Resource Types

Agentedit

Agent is the Schema for the Agents API.

Field Description

apiVersion string

agent.k8s.elastic.co/v1alpha1

kind string

Agent

metadata ObjectMeta

Refer to Kubernetes API documentation for fields of metadata.

spec AgentSpec

AgentSpecedit

AgentSpec defines the desired state of the Agent

Field Description

version string

Version of the Agent.

elasticsearchRefs Output array

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 string

Image is the Agent Docker image to deploy. Version has to match the Agent in the image.

config Config

Config holds the Agent configuration. At most one of [Config, ConfigRef] can be specified.

configRef ConfigSource

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 [Config, ConfigRef] can be specified.

secureSettings SecretSource

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 Entries field of each SecureSetting.

serviceAccountName string

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 DaemonSetSpec

DaemonSet specifies the Agent should be deployed as a DaemonSet, and allows providing its spec. Cannot be used along with deployment.

deployment DeploymentSpec

Deployment specifies the Agent should be deployed as a Deployment, and allows providing its spec. Cannot be used along with daemonSet.

DaemonSetSpecedit

Field Description

podTemplate PodTemplateSpec

updateStrategy DaemonSetUpdateStrategy

DeploymentSpecedit

Field Description

podTemplate PodTemplateSpec

replicas integer

strategy DeploymentStrategy

Outputedit

Field Description

ObjectSelector ObjectSelector

outputName string