Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paradox Kind Cluster

This project sets up a kind Kubernetes cluster named paradox with a custom node image containing network tools and configured for a local proxy.

Prerequisites

  • Docker
  • Kind
  • Local proxy running on port 9000
  • certs/zscaler.pem (if required for SSL interception, place it here before build)

Structure

  • Dockerfile: Custom image definition.
  • kind-config.yaml: Cluster configuration (1 controller, 2 workers).
  • scripts/: Helper scripts.
  • Makefile: Command shortcuts.

Usage

  1. Configure Proxy: Update config/proxy.env with your local proxy settings if they differ from defaults.

    Use Proxy Simulator (optional): If you need to simulate a corporate proxy locally:

    make proxy-setup
    make proxy-start

    Keep the proxy running in a separate terminal.

    Important: Trust the simulator certificate on your host (required for Docker pulls):

    make proxy-trust

    Then export the simulator's certificate for the build:

    make export-mitm-cert

    Shortcut: You can also use the dev mode to automatically export the simulator cert and build:

    make dev
  2. Build the image (automatically attempts to export Zscaler cert):

    make build

    Note: If the script cannot find "Zscaler" in your Keychain, it will warn you. Please verify certs/zscaler.pem contains the correct certificate.

  3. Create the cluster:

    make create
  4. Verify setup:

    make verify
  5. All in one:

    make all

Note on Node Names

The cluster nodes are configured to be named explicitly:

  • Controller: alpha
  • Workers: gamma, segma (Note: Docker containers will still follow Kind's naming convention like paradox-control-plane but the internal Kubernetes node objects will match these names).

Proxy Configuration

The nodes are configured to use http://host.docker.internal:9000 as the proxy. Ensure your local machine has a proxy listener on port 9000.

About

Paradox of running docker behind a pre-proxy that configures a corporate proxy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages