withDefaultBackend
Method
interface KubernetesIngressResource { // ... omitted for brevity withDefaultBackend(endpoint: EndpointReference): KubernetesIngressResource;}Signature
method
withDefaultBackend builderSets the default backend for the ingress. The default backend handles requests that do not match any of the defined routing rules.
withDefaultBackend(endpoint: EndpointReference): KubernetesIngressResourceParameters
endpointEndpointReference The endpoint reference identifying the default backend service and port.Returns
KubernetesIngressResource Applies to
This method applies to the following types: