# Traefik integration

Read-only inspection targets traefik.io/v1alpha1 ingressroutes, middlewares, tlsoptions and traefikservices in an explicit namespace.

Canonical URL: https://opennodeflow.dev/wiki/integration-traefik/
JSON reference: https://opennodeflow.dev/wiki/integration-traefik/index.json
Source snapshot: 2026-10-23

Traefik contributes **8 operations** in the current source catalog. Its implementation family belongs to the **Traefik** pack. Add that pack to the chosen workspace before authoring with its definitions.

## Capabilities and boundaries

Read-only inspection targets traefik.io/v1alpha1 ingressroutes, middlewares, tlsoptions and traefikservices in an explicit namespace.

These are installed Kubernetes CRDs. The family does not update routing or extract TLS private keys; namespace permissions and served versions remain target-cluster concerns.

## Configure the connection

Use an authorized bearer credential stored under the secret name `KUBERNETES_TOKEN` or a deliberate override.

The source default base origin is `https://kubernetes.example.com`. Domains under example.com/example.net are placeholders for your own API, not running public services. Use the exact provider API origin and trusted certificate chain. A connection profile can supply credentials and repeated target defaults; profile credentials take precedence over node secret-name overrides. These developer nodes do not obtain tokens or refresh grants.

Read the chosen operation's permission entry before granting the account access. Least required target permissions are preferable to a broad administrator credential.

## First bounded read

Start with **Traefik List HTTP Ingress Routes**, which is declared as a read. Its synthetic argument fixture is:

```json
{
  "namespace": "demo"
}
```

Replace the synthetic resource identifiers with an explicitly authorized target before any real read. An example is not an installed workflow and contains no credential values.

Set `maxPages:1` initially and inspect the result, `status`, selected direct fields and any `request_id`. Lists return `count`, `has_more` and optional `continuation`; not every provider resource is paginated. Keep the same resource/query scope when resuming. Optional outputs remain absent when the provider does not supply them. Wire only the fields present on the selected branch.

## Available operations

| Operation | Effect | API route |
| --- | --- | --- |
| [Traefik List HTTP Ingress Routes](/wiki/reference-dev-traefik-list-ingressroutes/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/ingressroutes` |
| [Traefik Get IngressRoute](/wiki/reference-dev-traefik-get-ingressroutes/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/ingressroutes/{name}` |
| [Traefik List Middlewares](/wiki/reference-dev-traefik-list-middlewares/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/middlewares` |
| [Traefik Get Middleware](/wiki/reference-dev-traefik-get-middlewares/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/middlewares/{name}` |
| [Traefik List TLS Options](/wiki/reference-dev-traefik-list-tlsoptions/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/tlsoptions` |
| [Traefik Get TLSOption](/wiki/reference-dev-traefik-get-tlsoptions/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/tlsoptions/{name}` |
| [Traefik List Traefik Services](/wiki/reference-dev-traefik-list-traefikservices/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/traefikservices` |
| [Traefik Get TraefikService](/wiki/reference-dev-traefik-get-traefikservices/) | read | `GET /apis/traefik.io/v1alpha1/namespaces/{namespace}/traefikservices/{name}` |

Each linked reference contains exact source arguments, named socket contracts, configuration schema, response shape and synthetic data. Source keys must be resolved to the installation's actual definition/version before graph editing.

## Bounds, changes and recovery

The shared developer adapter defaults to a 15-second request timeout, a 1 MiB response bound, one page and 1,000 accumulated items. Configurable maxima are 120 seconds, 3,000,000 response bytes, 20 pages and 5,000 items. Choose smaller limits where appropriate; an excessive response fails rather than becoming a silently complete list.

Read HTTP status and provider-specific success markers. Rejected authentication, permission failures and invalid requests need configuration correction. Rate limiting needs deliberate later scheduling. Same-origin/API-root continuation checks prevent sending credentials to an unrelated next link.

All operations in this source family are reads. A read can still expose sensitive data and consume provider quota; restrict target scope and logs. No mutation, reconciliation or lifecycle action is implied by installing this pack.

The reference is source-derived. Synthetic fixtures and isolated worker proof do not establish your account permissions, API availability or live delivery. See [shared setup](/wiki/integration-setup/) and [pack behavior](/wiki/library-packs/).

## Provider contract references

- [Provider reference 1](https://doc.traefik.io/traefik/reference/install-configuration/providers/kubernetes/kubernetes-crd/)
- [Provider reference 2](https://raw.githubusercontent.com/traefik/traefik/master/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml)

---

## Documentation provenance

- `../OpenNodeFlow-Library/docs/DEVELOPER-PACKS.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/CONTRACT.md`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/api-research.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
