Helm chartv1.0.1App latestVerified publisher

A Helm chart for Performance Co-Pilot

About this chart

Performance Co-Pilot Helm Chart

A Helm chart for deploying Performance Co-Pilot (PCP) on Kubernetes.

Performance Co-Pilot is a system performance analysis toolkit that provides comprehensive real-time and historical metrics collection and analysis capabilities. PCP includes:

  • Real-time monitoring: Live system metrics via pmcd daemon
  • Historical analysis: Archive logging via pmlogger
  • Web interface: REST API via pmproxy for integration with Grafana, Prometheus
  • Extensive metrics: CPU, memory, disk, network, containers, and custom application metrics
  • eBPF support: Advanced kernel tracing with bpftrace and BPF agents
  • Multi-host monitoring: Central collection from distributed systems

For more information, visit pcp.io or the GitHub repository.

Pre-built packages are available at packagecloud.io/performancecopilot/pcp.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.8+ (required for OCI registry support)
  • PV provisioner support in the underlying infrastructure (for persistent storage)

Installing the Chart

From OCI Registry (Recommended)

helm install pcp oci://ghcr.io/performancecopilot/helm-charts/pcp --version 1.0.0 -n monitoring --create-namespace

From Source

# Clone repository
git clone https://github.com/performancecopilot/helm-charts.git
cd helm-charts

# Install from local chart
helm install pcp ./pcp -n monitoring --create-namespace

From GitHub Release

# Download packaged chart
wget https://github.com/performancecopilot/helm-charts/releases/download/v1.0.0/pcp-1.0.0.tgz

# Install from package
helm install pcp pcp-1.0.0.tgz -n monitoring --create-namespace

Uninstalling the Chart

helm uninstall pcp -n monitoring

Configuration

ParameterDescriptionDefault
replicaCountNumber of replicas (fixed at 1)1
image.repositoryPCP container image repositoryghcr.io/performancecopilot/pcp
image.tagPCP container image taglatest
image.pullPolicyImage pull policyIfNotPresent
hostNetworkUse host networkingfalse
securityContext.privilegedRun in privileged modetrue
persistence.pmlogger.enabledEnable persistent storage for pmloggertrue
persistence.pmlogger.sizeSize of pmlogger volume1Gi
persistence.pmproxy.enabledEnable persistent storage for pmproxytrue
persistence.pmproxy.sizeSize of pmproxy volume1Gi
hostMonitoring.enabledEnable host monitoring modefalse
env.PCP_SERVICESPCP services to startpmcd,pmie,pmlogger,pmproxy
env.PCP_DOMAIN_AGENTSPCP agents to enable""
env.HOST_MOUNTHost mount path for monitoring""
env.KEY_SERVERSRedis/Valkey connection specslocalhost:6379

Host Monitoring

For comprehensive system monitoring including eBPF capabilities:

helm install pcp ./pcp \
  --set hostMonitoring.enabled=true \
  --set hostNetwork=true \
  --set env.HOST_MOUNT="/host" \
  --set env.PCP_DOMAIN_AGENTS="bpf,bpftrace"

Accessing PCP

  • PMCD: Port 44321 (native PCP tools)
  • PMPROXY: Port 44322 (HTTP/REST API)

Examples

Basic deployment:

helm install pcp oci://ghcr.io/performancecopilot/helm-charts/pcp --version 1.0.0 -n monitoring --create-namespace

With custom agents:

helm install pcp oci://ghcr.io/performancecopilot/helm-charts/pcp --version 1.0.0 \
  --set env.PCP_DOMAIN_AGENTS="postgresql,apache" \
  -n monitoring --create-namespace

Host monitoring with eBPF:

helm install pcp oci://ghcr.io/performancecopilot/helm-charts/pcp --version 1.0.0 \
  --set hostMonitoring.enabled=true \
  --set hostNetwork=true \
  --set env.HOST_MOUNT="/host" \
  --set env.PCP_DOMAIN_AGENTS="bpf,bpftrace" \
  -n monitoring --create-namespace

From source (development):

git clone https://github.com/performancecopilot/helm-charts.git
cd helm-charts
helm install pcp ./pcp -n monitoring --create-namespace

Notes

  • PCP runs as a single instance (replicaCount=1) since multiple replicas would duplicate system monitoring data
  • Privileged mode is required for full system access
  • Host monitoring mode requires additional cluster permissions

Deploy pcp with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has pcp 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 chartpcp is pinned at v1.0.1 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