Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status API: use consistent status schema #10751

Open
shashankram opened this issue Mar 5, 2025 · 0 comments
Open

Status API: use consistent status schema #10751

shashankram opened this issue Mar 5, 2025 · 0 comments
Labels
Type: Enhancement New feature or request

Comments

@shashankram
Copy link
Contributor

kgateway version

Is your feature request related to a problem? Please describe.

When designing the status API, it would be desirable to ensure the status API for all kgateway objects have a mostly consistent schema.

Describe the solution you'd like

Something like the below would be good enough for a majority of use cases:

status:
  # list of conditions describing state transitions
  conditions:
  - type: SomeCondition
    status: "True"
    message: "foo bar"
    reason: FooBar
    lastTransitionTime: "2025-03-05T00:00:10Z"

 # Aggregate phase
 phase: SUCCEEDED|FAILED|PENDING|UNKNOWN

A printer column for status.phase to easily lookup the aggregate phase of the resource.

Describe alternatives you've considered

No response

Additional Context

No response

@shashankram shashankram added the Type: Enhancement New feature or request label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant