apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: path-err-rules
spec:
rules:
- host: "exact-path-rules-cookie-uid"
http:
paths:
- path: a
pathType: Exact
backend:
service:
name: foo-exact
port:
number: 3000
@ingress.rule
@release-1.22
Feature: Path error rules
An Ingress status error when given error ingress.
Scenarios
| Status | Progress |
|---|---|
|
Passed |
100.00% |
|
Failed |
0.00% |
Scenario: An Ingress with path rules a status should be error and not send traffic to the matching backend service
(path rule a)
check_circle
Given
5s
an Ingress resource in a new random namespace should not create
+Show Parameter
Scenario: An Ingress with path rules null status should be error and not send traffic to the matching backend service
(path rule null)
check_circle
Given
10s
an Ingress resource in a new random namespace should not create
+Show Parameter
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: path-err-rules
spec:
rules:
- host: "exact-path-rules-cookie-uid"
http:
paths:
- path:
pathType: Exact
backend:
service:
name: foo-exact
port:
number: 3000