1
0
Fork 0
docker-easy-haproxy/examples/kubernetes
Joao Gilberto Magalhaes b34d7822e4 Remove Python app example and replace with header-echo server for testing
- Deleted the `/examples/docker/python-app` directory and associated files.
- Integrated a custom `header-echo` server for Kubernetes and Docker Compose tests.
- Updated Kubernetes and Docker Compose configurations to use the new `header-echo-server:test` image.
- Enhanced Kubernetes integration tests to validate JSON responses and Cloudflare IP translation behavior.
2026-02-12 16:29:44 -05:00
..
.gitignore Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
cloudflare.yml Remove Python app example and replace with header-echo server for testing 2026-02-12 16:29:44 -05:00
ip-whitelist.yml Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
jwt-validator-secret-example.yml Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
jwt-validator.yml Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
plugins-combined.yml Add IngressClass resource and update references to spec.ingressClassName across templates, examples, and documentation for consistency and backward compatibility 2025-12-15 20:33:51 -05:00
README.md Revamp Swarm example documentation and streamline deployment instructions 2025-12-04 10:07:17 -05:00
service.yml Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
service_tls.yml Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
setup-cluster.sh Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
teardown-cluster.sh Add Kubernetes integration tests for EasyHAProxy examples 2026-02-12 01:42:43 -05:00
test_kubernetes.py Remove Python app example and replace with header-echo server for testing 2026-02-12 16:29:44 -05:00

Kubernetes Examples

Self-contained examples for EasyHAProxy ingress controller. All documentation is in the YAML files as header comments.

Quick Start

  1. Pick an example below
  2. Open the YAML file
  3. Read the header comments for complete instructions
  4. Run the commands step-by-step

Prerequisites

All examples require:

  • EasyHAProxy installed in your Kubernetes cluster
  • Node labeled for EasyHAProxy deployment

See header comments in each file for detailed setup instructions.

Basic Examples

File Description
service.yml Basic HTTP ingress with multiple domains
service_tls.yml HTTPS/TLS ingress with custom certificates

Plugin Examples

File Description
jwt-validator.yml JWT token validation for API protection
ip-whitelist.yml IP whitelist for admin panels or sensitive services
cloudflare.yml Restore real client IPs when behind Cloudflare CDN
plugins-combined.yml Multiple plugins combined for layered security

Documentation Structure

Each YAML file contains:

  • WHAT THIS DEMONSTRATES - Key features and concepts
  • REQUIREMENTS - Idempotent setup commands (safe to run multiple times)
  • HOW TO START - Command to apply the manifest
  • HOW TO VERIFY IT'S WORKING - Test commands with expected outputs
  • CLEAN UP - Commands to remove resources

Additional Documentation