Skip to content

Instantly share code, notes, and snippets.

@Robbilie
Created April 2, 2026 19:07
Show Gist options
  • Select an option

  • Save Robbilie/d39b4fb15ddac67117fa4365c2ca92a0 to your computer and use it in GitHub Desktop.

Select an option

Save Robbilie/d39b4fb15ddac67117fa4365c2ca92a0 to your computer and use it in GitHub Desktop.
kubectl describe httproutes.gateway.networking.k8s.io -n app1-ns android-routes
Name: android-routes
Namespace: app1-ns
Labels: <none>
Annotations: <none>
API Version: gateway.networking.k8s.io/v1
Kind: HTTPRoute
Metadata:
Creation Timestamp: 2026-03-26T15:35:12Z
Generation: 13
Resource Version: 4462529
UID: 09f4545a-9d84-408d-ba2a-35961e29fa9f
Spec:
Parent Refs:
Group: gateway.networking.k8s.io
Kind: Gateway
Name: gateway
Namespace: ngf-gatewayapi-ns
Section Name: http
Rules:
Backend Refs:
Group:
Kind: Service
Name: android-svc
Port: 80
Weight: 1
Filters:
Extension Ref:
Group: gateway.nginx.org
Kind: SnippetsFilter
Name: limit-except-sf
Type: ExtensionRef
Type: URLRewrite
URL Rewrite:
Path:
Replace Full Path: /$2
Type: ReplaceFullPath
Matches:
Path:
Type: RegularExpression
Value: /something(/|$)(.*)
Status:
Parents:
Conditions:
Last Transition Time: 2026-04-02T17:34:35Z
Message: All references are resolved
Observed Generation: 13
Reason: ResolvedRefs
Status: True
Type: ResolvedRefs
Last Transition Time: 2026-04-02T17:34:35Z
Message: All rules are invalid: spec.rules[0].filters[1].urlRewrite.path: Invalid value: {"type":"ReplaceFullPath","replaceFullPath":"/$2"}: cannot contain $
Observed Generation: 13
Reason: UnsupportedValue
Status: False
Type: Accepted
Controller Name: gateway.nginx.org/nginx-gateway-controller
Parent Ref:
Group: gateway.networking.k8s.io
Kind: Gateway
Name: gateway
Namespace: ngf-gatewayapi-ns
Section Name: http
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment