DevTools Logo

Kubernetes Ingress Route Visualizer

Kubernetes Ingress Route Visualizer

Turn Ingress and Service YAML into a deterministic Mermaid routing diagram locally

Ingress and Service YAML

Parsing is client-side. Multiple YAML documents separated by --- are supported.

About

Paste Ingress YAML plus optional Service and Deployment manifests. The client-side parser reports missing backends and ports, reads TLS secrets, and creates a client to ingress to service to pod Mermaid graph.

Examples

TLS-labelled host route

Input
analyzeKubernetesIngress(ingress with tls hosts [example.com] secretName web-tls, services)
Output
{ host: "example.com", path: "/", pathType: "Prefix", service: "web", port: "80", tlsSecret: "web-tls" } + "TLS: web-tls" in mermaid

The tlsByHost map attaches the secret to every matching host route and labels the Mermaid edge.

Missing service warning

Input
analyzeKubernetesIngress(rules referencing service "absent")
Output
{ warnings: ["Service 'absent' was not found in the Service YAML"] }

Service names are looked up in the second YAML payload, so unknown backends warn instead of failing.

About this tool

Kubernetes Ingress Route Visualizer parses Ingress YAML with analyzeKubernetesIngress(ingressSource, servicesSource): TLS blocks are indexed per host via tlsByHost, every rule path resolves host, path, pathType, service name, and port (number, name, or legacy servicePort), and routes are sorted by host, path, service, and port for stable output.

Cross-resource context comes from optional Service and Deployment documents: missing backend names or ports raise warnings, unknown services warn with Service 'x' was not found in the Service YAML, and matching Deployment selectors (spec.selector against pod template labels) extend the graph from Service to Deployment to Pods.

Output is a Mermaid flowchart LR plus machine-readable routes: each edge carries host, TLS secret label, path, pathType, and service port, empty or malformed input yields Invalid YAML or No Ingress HTTP routes found warnings, and parsedDocuments counts every YAML document seen.

How to use this tool

  1. Paste manifests

    Pass Ingress YAML first and Service/Deployment YAML second — rules without HTTP paths warn and keep going.

  2. Read routes

    Each route gives host, path, pathType, service, port, and tlsSecret; missing names or ports show as (missing) with a warning.

  3. Render the graph

    Copy the mermaid field into any Mermaid renderer: Client → Ingress → per-host nodes → Service:port → Deployment/Pods.

Use cases

Reviewing ingress routing

List every host/path/port triple and its TLS secret before applying an Ingress change.

Auditing backend wiring

Catch missing ports, missing services, and selector mismatches from warnings.

Documenting traffic flow

Embed the generated Mermaid flowchart in runbooks and architecture reviews.

Common mistakes

Mistake:Assuming an omitted pathType means Prefix.

Fix:The tool preserves the manifest: absent pathType reports as (unspecified) — set Prefix or Exact explicitly.

Mistake:Expecting one Mermaid node per route.

Fix:Per-host Ingress nodes are deduplicated, so two paths on one host share a node with separate labelled edges.

Frequently asked questions

What does this tool do?

It runs analyzeKubernetesIngress on Ingress YAML plus optional Service/Deployment YAML, returning sorted routes (host, path, pathType, service, port, tlsSecret), a Mermaid flowchart, warnings, and a parsedDocuments count.

How are TLS, pathType, and missing backends handled?

TLS secrets attach per host and label Mermaid edges with TLS: name, pathType is preserved verbatim with (unspecified) fallback, and unknown services or missing names/ports warn instead of throwing.

Is my manifest uploaded or stored?

No. YAML parsing with js-yaml and graph building run entirely in your browser.

Why is a Service flagged as not found, or the graph empty?

Services resolve only from the second YAML payload — paste Service manifests to clear not-found warnings — and inputs with no Ingress HTTP routes report No Ingress HTTP routes found with an empty edge list.

References & standards

.env Secret Safety Linter

Validate .env syntax and spot likely leaked credentials or placeholder secrets.

.htaccess Generator

Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth

2D Fluid Dynamics & Particle Physics Sandbox

A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.

AI Function Calling Schema Generator

Generate function calling JSON schemas from TypeScript interfaces

Algorithm Arena & Data Structure Visualizer

Interactive arena for algorithms and data structures: eight sorting algorithms racing on one seeded input, six pathfinding algorithms walking generated mazes, and BST, AVL, Red-Black, B-tree, heap and trie operations replayed step by step with rotations highlighted. Every run shows the Big-O table and the phase-highlighted reference implementation in four languages, and compared values can be played as pitch (sonification) through the shared audio engine. Everything runs client-side; inputs never leave the browser.

Ansible Playbook Generator

Build an Ansible playbook — hosts, vars, and tasks with modules — as YAML