Update ingress.yaml
This commit is contained in:
1 parent
6f950ed11c
commit
56d79110d5
1 file changed
+11
-10
+11
-10
@@ -1,15 +1,16 @@
|
|||||||
apiVersion: extensions/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: whoami-ingress
|
name: whoami-ingress
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: traefik
|
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: whoami.k8s
|
- host: whoami.k8s
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
backend:
|
pathType: Prefix
|
||||||
serviceName: whoami-service
|
backend:
|
||||||
servicePort: http
|
service:
|
||||||
|
name: whoami
|
||||||
|
port:
|
||||||
|
name: web
|
||||||
Reference in new issue
Block a user