How carloslcancela/helm-perf works
Purpose
This is a Helm chart for deploying an ApacheBench-style load-test client and a webserver target into Kubernetes. The README points to an external Docker ApacheBench example; this repository primarily packages the Kubernetes resources.
Chart Entry Point
Helm consumes Chart.yaml as chart metadata and values.yaml as the deployment configuration surface. Rendering the chart creates a namespace plus two pod resources.
Paths:
• Chart.yaml
• values.yaml
Namespace Boundary
The chart defines a dedicated Kubernetes namespace, establishing the isolation boundary for the benchmark client and target workload.
Path:
• templates/namespace.yaml
Webserver Target Pod
The target service workload is defined as a standalone pod. It is the endpoint intended to receive traffic generated by the benchmarking client; its image, ports, labels, and runtime settings are expected to be parameterized through Helm values where referenced.
Path:
• templates/webserver-pod.yaml
• values.yaml
ApacheBench Client Pod
A separate client pod runs the ApacheBench container/workload. This is the traffic generator and is logically independent from the target pod, allowing benchmark execution to originate from within the Kubernetes cluster.
Path:
• templates/client-pod.yaml
• values.yaml
Primary Control and Data Flow
1. An operator runs Helm install/upgrade against the chart root.
2. Helm renders the namespace, webserver pod, and client pod templates using values.yaml.
3. Kubernetes schedules the webserver pod as the benchmark target.
4. Kubernetes schedules the client pod, which issues HTTP benchmark traffic to the webserver through cluster networking.
5. Benchmark output is produced by the client container runtime rather than by an application service in this repository.
Relevant paths:
• templates/namespace.yaml
• templates/webserver-pod.yaml
• templates/client-pod.yaml
Runtime and Infrastructure
The material runtime is Kubernetes, with Helm as the deployment/rendering mechanism. The external workload dependency is the Docker-based ApacheBench example referenced by the README; this chart does not contain ApacheBench implementation code itself.
Paths:
• README.md
• Chart.yaml
• templates/client-pod.yaml
Main entry points: values.yaml Deployment Values · webserver-pod.yaml Webserver Pod Template · client-pod.yaml ApacheBench Client Template · namespace.yaml Namespace Template
Components 12
Helm Chart
- Chart Metadata
Chart.yaml - Deployment Values · Configuration surface for workload settings.
values.yaml - Namespace Template
templates/namespace.yaml - Webserver Pod Template
templates/webserver-pod.yaml - ApacheBench Client Template
templates/client-pod.yaml
Kubernetes Cluster
- Benchmark Namespace · Isolation boundary for benchmark resources.
- Webserver Target Pod · Receives benchmark HTTP traffic.
- ApacheBench Client Pod · Runs the external ApacheBench workload.
- Cluster Networking
- Benchmark Output · Produced by the client container.
Other components
- Helm · Renders templates during install or upgrade.
- ApacheBench Docker Workload · External Docker ApacheBench example referenced by the README.
README.md
Connections 16
- Chart Metadata → Helm: defines chart
- Deployment Values → Helm: supplies values
- Helm → Namespace Template: renders
- Helm → Webserver Pod Template: renders
- Helm → ApacheBench Client Template: renders
- Namespace Template → Benchmark Namespace: creates
- Webserver Pod Template → Webserver Target Pod: creates
- ApacheBench Client Template → ApacheBench Client Pod: creates
- Deployment Values → Webserver Pod Template: parameterizes
- Deployment Values → ApacheBench Client Template: parameterizes
- Benchmark Namespace → Webserver Target Pod: contains
- Benchmark Namespace → ApacheBench Client Pod: contains
- ApacheBench Docker Workload → ApacheBench Client Pod: runs as workload
- ApacheBench Client Pod → Cluster Networking: sends HTTP traffic
- Cluster Networking → Webserver Target Pod: routes to target
- ApacheBench Client Pod → Benchmark Output: produces