fix ingress syntax. (#7867)

This commit is contained in:
counter2015 2021-11-02 08:12:58 +08:00 committed by GitHub
parent e34ca93ad6
commit ed34f6c93d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 204 additions and 105 deletions

View file

@ -27,10 +27,13 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
# This assumes http-svc exists and routes to healthy endpoints
serviceName: http-svc
servicePort: 80
service:
name: http-svc
port:
number: 80
```
The following command instructs the controller to terminate traffic using the provided

View file

@ -14,7 +14,10 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
# This assumes http-svc exists and routes to healthy endpoints
serviceName: http-svc
servicePort: 80
service:
name: http-svc
port:
number: 80