apps: upgrade ingresses api version

This commit is contained in:
Andrey Kartashov 2021-10-19 13:23:16 +07:00
parent c11e18bb0a
commit f05970b306
4 changed files with 28 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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