Upgraded ingress resources
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
@@ -50,7 +50,7 @@ spec:
|
||||
port: web
|
||||
initialDelaySeconds: 10
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: blog
|
||||
@@ -70,12 +70,15 @@ spec:
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
serviceName: blog
|
||||
servicePort: 80
|
||||
service:
|
||||
name: blog
|
||||
port:
|
||||
number: 80
|
||||
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: blog-www
|
||||
@@ -95,12 +98,15 @@ spec:
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
serviceName: blog
|
||||
servicePort: 80
|
||||
service:
|
||||
name: blog
|
||||
port:
|
||||
number: 80
|
||||
|
||||
---
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: blog-blog
|
||||
@@ -120,7 +126,10 @@ spec:
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
serviceName: blog
|
||||
servicePort: 80
|
||||
service:
|
||||
name: blog
|
||||
port:
|
||||
number: 80
|
||||
|
||||
|
Reference in New Issue
Block a user