ipfix-generator

by wenisch.tech

Helm chartv0.6.9App 0.6.9GPL-3.0-only

A Spring Boot IPFIX traffic generator with a web UI and REST endpoints.

About this chart

ipfix-generator Helm Chart

The ipfix-generator Helm chart deploys the Spring Boot IPFIX generator UI and API to Kubernetes.

Features

  • Stateless deployment by default
  • Configurable image, resource requests, and probe settings
  • Optional ingress support
  • Generic env and secrets pass-through for runtime configuration
  • Compatible with the published image at ghcr.io/jfwenisch/ipfix-generator

Prerequisites

  • Kubernetes 1.24+
  • Helm 3.x

Installation

Install from the chart repository

helm repo add jfwenisch https://charts.wenisch.tech
helm repo update
helm install ipfix-generator jfwenisch/ipfix-generator -n ipfix-generator --create-namespace

Install from source

helm install ipfix-generator ./chart -n ipfix-generator --create-namespace

Upgrade an existing release

helm upgrade ipfix-generator ./chart -n ipfix-generator

Uninstall

helm uninstall ipfix-generator -n ipfix-generator

Configuration

All chart values are optional. The default deployment is intentionally simple and stateless.

Basic examples

Use a custom image tag:

helm install ipfix-generator ./chart \
  -n ipfix-generator --create-namespace \
  --set image.tag=0.4.2

Set Java runtime options:

helm install ipfix-generator ./chart \
  -n ipfix-generator --create-namespace \
  --set env.JAVA_TOOL_OPTIONS="-Xms256m -Xmx512m"

Provide a secret-backed environment variable:

helm install ipfix-generator ./chart \
  -n ipfix-generator --create-namespace \
  --set secrets.EXAMPLE_TOKEN="change-me"

Enable ingress:

helm install ipfix-generator ./chart \
  -n ipfix-generator --create-namespace \
  --set ingress.enabled=true \
  --set ingress.className=nginx \
  --set ingress.hosts[0].host=ipfix.example.com \
  --set ingress.hosts[0].paths[0].path=/

Key values

ParameterDefaultDescription
replicaCount1Number of pods when autoscaling is disabled
image.repositoryghcr.io/jfwenisch/ipfix-generatorContainer image repository
image.tag""Image tag override, defaults to chart appVersion
service.typeClusterIPKubernetes service type
service.port8080Service port
service.targetPort8080Container port exposed by the service
env{}Non-sensitive environment variables
secrets{}Sensitive environment variables rendered into a Secret
resources.requests.cpu100mCPU request
resources.requests.memory256MiMemory request
resources.limits.cpu500mCPU limit
resources.limits.memory512MiMemory limit
ingress.enabledfalseEnables ingress creation
autoscaling.enabledfalseEnables HPA creation

See values.yaml and values.schema.json for the complete configuration surface.

Runtime behavior

  • The application listens on port 8080 by default.
  • Health checks target /, because the application does not expose Spring Boot actuator endpoints.
  • Job state is stored in memory, so pod restarts clear the current job list.

Troubleshooting

Render the chart locally:

helm template ipfix-generator ./chart

Inspect the deployed resources:

kubectl get all -n ipfix-generator
kubectl describe deployment -n ipfix-generator ipfix-generator

Follow application logs:

kubectl logs -n ipfix-generator -f deployment/ipfix-generator

Port-forward the service:

kubectl port-forward -n ipfix-generator svc/ipfix-generator 8080:8080

License

GNU GPL v3

Deploy ipfix-generator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ipfix-generator 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 chartipfix-generator is pinned at v0.6.9 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