Skip to content

Instantly share code, notes, and snippets.

@bartoszmajsak
Created September 29, 2025 09:23
Show Gist options
  • Save bartoszmajsak/4329206afe107357afdcb9b92ed778bd to your computer and use it in GitHub Desktop.
Save bartoszmajsak/4329206afe107357afdcb9b92ed778bd to your computer and use it in GitHub Desktop.
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
creationTimestamp: "2025-09-26T21:16:42Z"
generation: 1
labels:
app.kubernetes.io/component: llminferenceservice-router
app.kubernetes.io/name: facebook-opt-125m-single-simulated
app.kubernetes.io/part-of: llminferenceservice
name: facebook-opt-125m-single-simulated-kserve-route
namespace: llm
ownerReferences:
- apiVersion: serving.kserve.io/v1alpha1
blockOwnerDeletion: true
controller: true
kind: LLMInferenceService
name: facebook-opt-125m-single-simulated
uid: d0f81d8e-64f5-4ef2-8667-d4e474392b18
resourceVersion: "121308345"
uid: 6011bd7b-4476-4510-8915-919348fff567
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: openshift-ai-inference
namespace: openshift-ingress
rules:
- backendRefs:
- group: ""
kind: Service
name: facebook-opt-125m-single-simulated-kserve-workload-svc
port: 8000
weight: 1
filters:
- type: URLRewrite
urlRewrite:
path:
replacePrefixMatch: /
type: ReplacePrefixMatch
matches:
- path:
type: PathPrefix
value: /llm/facebook-opt-125m-single-simulated
timeouts:
backendRequest: 0s
request: 0s
status:
parents:
- conditions:
- lastTransitionTime: "2025-09-26T21:16:42Z"
message: Object affected by AuthPolicy [openshift-ingress/gateway-auth-policy]
observedGeneration: 1
reason: Accepted
status: "True"
type: kuadrant.io/AuthPolicyAffected
- lastTransitionTime: "2025-09-26T21:16:42Z"
message: Object affected by RateLimitPolicy [openshift-ingress/gateway-rate-limits]
observedGeneration: 1
reason: Accepted
status: "True"
type: kuadrant.io/RateLimitPolicyAffected
- lastTransitionTime: "2025-09-26T21:16:42Z"
message: Object affected by TokenRateLimitPolicy [openshift-ingress/gateway-token-rate-limits]
observedGeneration: 1
reason: Accepted
status: "True"
type: kuadrant.io/TokenRateLimitPolicyAffected
controllerName: kuadrant.io/policy-controller
parentRef:
group: gateway.networking.k8s.io
kind: Gateway
name: openshift-ai-inference
namespace: openshift-ingress
- conditions:
- lastTransitionTime: "2025-09-26T21:16:42Z"
message: Route was valid
observedGeneration: 1
reason: Accepted
status: "True"
type: Accepted
- lastTransitionTime: "2025-09-26T21:16:42Z"
message: All references resolved
observedGeneration: 1
reason: ResolvedRefs
status: "True"
type: ResolvedRefs
controllerName: openshift.io/gateway-controller/v1
parentRef:
group: gateway.networking.k8s.io
kind: Gateway
name: openshift-ai-inference
namespace: openshift-ingress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment