mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
apps: upgrade ingresses api version
This commit is contained in:
parent
c11e18bb0a
commit
f05970b306
4 changed files with 28 additions and 16 deletions
|
|
@ -48,7 +48,7 @@ spec:
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: gorilychru
|
targetPort: gorilychru
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: gorilychru
|
name: gorilychru
|
||||||
|
|
@ -63,7 +63,10 @@ spec:
|
||||||
- host: gorilych.ru
|
- host: gorilych.ru
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- pathType: ImplementationSpecific
|
||||||
serviceName: gorilychru
|
backend:
|
||||||
servicePort: 80
|
service:
|
||||||
|
name: gorilychru
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ spec:
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: jupyter
|
targetPort: jupyter
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: jupyter
|
name: jupyter
|
||||||
|
|
@ -71,7 +71,10 @@ spec:
|
||||||
- host: jupyter.gorilych.ru
|
- host: jupyter.gorilych.ru
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- pathType: ImplementationSpecific
|
||||||
serviceName: jupyter
|
backend:
|
||||||
servicePort: 80
|
service:
|
||||||
|
name: jupyter
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ subsets:
|
||||||
ports:
|
ports:
|
||||||
- port: 443
|
- port: 443
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-rules
|
name: ingress-rules
|
||||||
|
|
@ -33,6 +33,9 @@ spec:
|
||||||
- host: router.gorilych.ru
|
- host: router.gorilych.ru
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- pathType: ImplementationSpecific
|
||||||
serviceName: router-svc
|
backend:
|
||||||
servicePort: 443
|
service:
|
||||||
|
name: router-svc
|
||||||
|
port:
|
||||||
|
number: 443
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ spec:
|
||||||
targetPort: http
|
targetPort: http
|
||||||
port: 80
|
port: 80
|
||||||
---
|
---
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: wiki
|
name: wiki
|
||||||
|
|
@ -60,6 +60,9 @@ spec:
|
||||||
- host: wiki.gorilych.ru
|
- host: wiki.gorilych.ru
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- pathType: ImplementationSpecific
|
||||||
serviceName: wiki
|
backend:
|
||||||
servicePort: http
|
service:
|
||||||
|
name: wiki
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
Loading…
Reference in a new issue