KubernetesIngressResource.withIngressHostAndPath
Method
interface KubernetesIngressResource { // ... omitted for brevity withIngressHostAndPath( host: string, path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesIngressResource;}Signature
method
withIngressHostAndPath builder Adds a host-scoped path rule to the ingress. The rule matches traffic for the specified host and path, forwarding it to the given endpoint's backing Kubernetes service.
withIngressHostAndPath( host: string, path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesIngressResourceParameters
host string path string endpoint EndpointReference pathType IngressPathType optional = Prefix Returns
KubernetesIngressResource Defined on
This method is defined on the following type: