[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,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: minimal-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /testpath
pathType: Prefix
backend:
service:
name: test
port:
number: 80