Skip to content

[UX] Add "Accepted" and "Programmed" status columns to HTTPRoute CRD printer columnsΒ #4375

@instadeep-cb

Description

@instadeep-cb

What would you like to be added:
Currently, running kubectl get httproutes only shows Hostnames and Age. As a user, I cannot see if my route was actually accepted by the Gateway or if there is a configuration error without specifically running describe or using -o yaml.
Why this is needed:
I suggest adding additionalPrinterColumns to the HTTPRoute CRD definition for the Accepted and Programmed conditions.

While an HTTPRoute can have multiple parents, showing the status of the first parent (.status.parents[0]) serves the 90% use-case where a route belongs to a single Gateway, providing immediate feedback during development.

Example output:

NAME           HOSTNAMES              ACCEPTED   PROGRAMMED   AGE
api-route      ["api.test.com"]      True       True         18h
sync-route     ["cdn.test.com"]      True       Unknown      2m
error-route    ["bad.test.com"]      False      False        5m

Including both allows users to distinguish between "The controller likes my YAML" (Accepted) and "The network is actually carrying traffic" (Programmed).

Other resources like Gateway show their status in the default output. Bringing this parity to HTTPRoute makes troubleshooting much faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions