# Functions
Add creates a new Agent Controller and adds it to the Manager with default RBAC.
CalculateHealth returns health of the Agent based on association status, desired count and ready count.
ConfigSecretName returns the name of a secret used to storage Elastic Agent configuration data.
EnvVarsSecretName returns the name of the secret used to storage environmental variables for a given Elastic Agent name.
HTTPServiceName returns the name of the HTTP service for a given Elastic Agent name.
Name returns the name of an Elastic Agent.
# Constants
No description provided by the author
No description provided by the author
ConfigHashAnnotationName is an annotation used to store the Agent config hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
available since 7.13 functional since 7.15 without effect before that.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Below are the names of environment variables used to configure Elastic Agent to Fleet connection in Fleet mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint:gosec.
No description provided by the author
Below are the names of environment variables used to configure Fleet Server and its connection to Elasticsearch in Fleet mode.
FleetServerHost is the environment variable defining the binding host for Fleet Server HTTP.
No description provided by the author
No description provided by the author
FleetServerPort is the standard Elastic Fleet Server port.
FleetServerPortEnv is the environment variable defining the binding port for Fleet Server HTTP.
nolint:gosec.
nolint:gosec.
No description provided by the author
NameLabelName used to represent an Agent in k8s resources.
NamespaceLabelName used to represent an Agent in k8s resources.
TypeLabelValue represents the Agent type.
VersionLabelName is a label used to track the version of a Agent Pod.
# Variables
Namer is a Namer that is configured with the defaults for resources related to an Agent resource.
# Structs
EnrollmentAPIKey is the representation of an enrollment token in the Fleet API.
EnrollmentAPIKeyList is a wrapper for a list of enrollment tokens.
EnrollmentAPIKeyResult wrapper for a single result in the Fleet API.
Params are a set of parameters used during internal reconciliation of Elastic Agents.
Policy is the representation of an agent policy in the Fleet API.
PolicyList is a wrapper for a list of agent policies as returned by the Fleet API.
ReconcileAgent reconciles an Agent object.
ReconciliationParams are the parameters used during an Elastic Agent's reconciliation.