This document describes which Gateway API resources NGINX Kubernetes Gateway supports and the extent of that support.
Resource | Support Status |
---|---|
GatewayClass | Partially supported |
Gateway | Partially supported |
HTTPRoute | Partially supported |
TLSRoute | Not supported |
TCPRoute | Not supported |
UDPRoute | Not supported |
ReferenceGrant | Not supported |
Custom policies | Not supported |
We use the following words to describe support status:
- Supported. The resource or field is fully supported and conformant to the Gateway API specification.
- Partially supported. The resource or field is supported partially or with limitations. It will become fully supported in future releases.
- Not supported. The resource or field is not yet supported. It will become partially or fully supported in future releases.
Note: it might be possible that NGINX Kubernetes Gateway will never support some resources and/or fields of the Gateway API. We will document these decisions on a case by case basis.
Below we list the resources and the support status of their corresponding fields.
For a description of each field, visit the Gateway API documentation.
Status: Partially supported.
NGINX Kubernetes Gateway supports only a single GatewayClass resource configured via --gatewayclass
cli argument.
Fields:
spec
controllerName
- supported.parametersRef
- not supported.description
- supported.
status
conditions
- partially supported.
Status: Partially supported.
NGINX Kubernetes Gateway supports only a single Gateway resource. The Gateway resource must reference NGINX Kubernetes Gateway's corresponding GatewayClass. In case of multiple Gateway resources created in the cluster, NGINX Kubernetes Gateway will use a deterministic conflict resolution strategy: it will choose the oldest resource by creation timestamp. If the timestamps are equal, NGINX Kubernetes Gateway will choose the resource that appears first in alphabetical order by “{namespace}/{name}”. We might support multiple Gateway resources. Please share your use case with us if you're interested in that support.
Fields:
spec
gatewayClassName
- supported.listeners
name
- supported.hostname
- partially supported. Wildcard hostnames like*.example.com
are not yet supported.port
- partially supported. Allowed values:80
for HTTP listeners and443
for HTTPS listeners.protocol
- partially supported. Allowed values:HTTP
,HTTPS
.tls
mode
- partially supported. Allowed value:Terminate
.certificateRefs
- partially supported. The TLS certificate and key must be stored in a Secret resource of typekubernetes.io/tls
in the same namespace as the Gateway resource. Only a single reference is supported. You must deploy the Secret before the Gateway resource. Secret rotation (watching for updates) is not supported.options
- not supported.
allowedRoutes
- not supported.
addresses
- not supported.
status
addresses
- not supported.conditions
- not supported.listeners
name
- supported.supportedKinds
- not supported.attachedRoutes
- supported.conditions
- partially supported.
Status: Partially supported.
Fields:
spec
parentRefs
- partially supported.sectionName
must always be set.hostnames
- partially supported. Wildcard binding is not supported: a hostname likeexample.com
will not bind to a listener with the hostname*.example.com
. However,example.com
will bind to a listener with the empty hostname.rules
matches
path
- partially supported. OnlyPathPrefix
type.headers
- partially supported. OnlyExact
type.queryParams
- partially supported. OnlyExact
type.method
- supported.
filters
type
- supported.requestRedirect
- supported except for the experimentalpath
field. If multiple filters withrequestRedirect
are configured, NGINX Kubernetes Gateway will choose the first one and ignore the rest.requestHeaderModifier
,requestMirror
,urlRewrite
,extensionRef
- not supported.
backendRefs
- partially supported. Only a single backend ref without support forweight
. Backend reffilters
are not supported. NGINX Kubernetes Gateway will use the IP of the Service as a backend, not the IPs of the corresponding Pods. Watching for Service updates is not supported.
status
parents
parentRef
- supported.controllerName
- supported.conditions
- partially supported.
Status: Not supported.
Status: Not supported.
Status: Not supported.
Status: Not supported.
Status: Not supported.
Custom policies will be NGINX Kubernetes Gateway-specific CRDs that will allow supporting features like timeouts, load-balancing methods, authentication, etc. - important data-plane features that are not part of the Gateway API spec.
While those CRDs are not part of the Gateway API, the mechanism of attaching them to Gateway API resources is part of the Gateway API. See the Policy Attachment doc.