[zh] Sync changes to Ingress concept

This commit is contained in:
Qiming Teng
2020-10-11 16:21:18 +08:00
parent 29e13ed527
commit 6c341b6a06
11 changed files with 470 additions and 248 deletions
@@ -0,0 +1,26 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: name-virtual-host-ingress
spec:
rules:
- host: foo.bar.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: service1
port:
number: 80
- host: bar.foo.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: service2
port:
number: 80