profiling-agent

by Elastic Inc.

Helm chartv9.5.7App 9.5.7Verified publisherOfficial

Hyperscaler software efficiency. For everybody.

About this chart

Elastic Universal Profiling host-agent

This chart installs the host-agent in your Kubernetes cluster. The agent is deployed as a DaemonSet and requires a privileged security context as it needs access to the nodes' kernel features.

Quick start installation

  • Add the Helm repository hosting the Optimyze charts, you only need to run this when first installing:

    helm repo add elastic https://helm.elastic.co
    
  • Fetch the projectID, secretToken and collectionAgentHostPort values visible in Kibana when using Universal Profiling.

    Use the values in the following command, replacing the placeholders:

    helm install --create-namespace -n=universal-profiling universal-profiling-agent \
    --set "projectID=<projectID>,secretToken=<secretToken>" \
    --set "collectionAgentHostPort=<collectionAgent> \
    elastic/pf-host-agent
    

Customizing values

For more complex deployments, you may want to customize Helm values. You can list the possible values using:

helm show values elastic/pf-host-agent

The most notable configuration knobs are nodeSelector and tolerations to deploy Prodfiler Host Agent only to a subset of nodes in your cluster.

Deploy profiling-agent with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has profiling-agent on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartprofiling-agent is pinned at v9.5.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply