Port Forward Airflow

Forward the Airflow API server from a Kubernetes cluster to localhost.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/billynewport/demo_cokub_model --skill port-forward-airflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Port Forward Airflow
Source: https://github.com/billynewport/demo_cokub_model/tree/main/.claude/skills/port-forward-airflow
Command: npx skills add https://github.com/billynewport/demo_cokub_model --skill port-forward-airflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Port Forward Airflow API Server enables developers to access the Airflow web UI locally by exposing the cluster's API server through kubectl port-forward.

Core Features & Use Cases

  • Quick access to the Airflow 3.x API server UI from a local machine for development and debugging.
  • Simple, repeatable commands to map a service inside a Kubernetes namespace to a local port.
  • Use Case: When testing new DAGs or monitoring Airflow in a cluster, forward the API server to http://localhost:8080 for web UI.

Quick Start

  1. Determine the target namespace and service: airflow-api-server.
  2. Run port-forward: kubectl port-forward -n <namespace> svc/airflow-api-server 8080:8080
  3. Open http://localhost:8080 in your browser.
  4. If port 8080 is in use, forward to 9090: kubectl port-forward -n <namespace> svc/airflow-api-server 9090:8080
  5. Open http://localhost:9090 in your browser.

Frequently Asked Questions about Port Forward Airflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I access the Airflow web UI locally from a Kubernetes cluster?

Forward the Airflow API server to localhost using kubectl port-forward. Run kubectl port-forward -n <namespace> svc/airflow-api-server 8080:8080, then open http://localhost:8080 in your browser to access the Airflow web UI.

What is the kubectl command to port forward the Airflow API server for debugging?

The kubectl command to port forward the Airflow API server is kubectl port-forward -n <namespace> svc/airflow-api-server 8080:8080. This exposes the cluster's Airflow 3.x API server UI locally for development and debugging tasks.

Can I use a different local port if 8080 is already in use for Airflow?

Yes, you can use a different local port if 8080 is in use. Forward to port 9090 by running kubectl port-forward -n <namespace> svc/airflow-api-server 9090:8080, then access the Airflow web UI at http://localhost:9090.

Do I need any specific tools or service names to port forward Airflow in Kubernetes?

You need kubectl installed and access to the target Kubernetes cluster. You must target the namespace where Airflow is deployed and use the service name airflow-api-server to successfully establish the local port-forward connection.

When should I use kubectl port-forward for Airflow instead of other access methods?

Use kubectl port-forward for Airflow during development, debugging, or demonstrations. It provides simple, repeatable local access to the Airflow 3.x web UI and API without requiring permanent network exposure or complex ingress configuration.