We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6c85a2 commit 7faf2a3Copy full SHA for 7faf2a3
1 file changed
ingress.yaml
@@ -0,0 +1,28 @@
1
+apiVersion: networking.k8s.io/v1
2
+kind: Ingress
3
+metadata:
4
+ name: ingress-example
5
+ annotations:
6
+ nginx.ingress.kubernetes.io/rewrite-target: /
7
+spec:
8
+ rules:
9
+ - host: "foo.bar.com"
10
+ http:
11
+ paths:
12
+ - pathType: Prefix
13
+ path: "/demo"
14
+ backend:
15
+ service:
16
+ name: mlapp-service
17
+ port:
18
+ number: 80
19
20
21
22
23
+ path: "/admin"
24
25
26
27
28
0 commit comments