Browse Source

Refactor infra onsite texservice ingress.

refactor/01_onsite-ingress-networking.k8s.io/v1
Antun Franjin 4 years ago
parent
commit
15e488a59b
  1. 26
      01_onsite/00_infra/texservice/deployment.yaml

26
01_onsite/00_infra/texservice/deployment.yaml

@ -50,7 +50,7 @@ spec:
--- ---
# Ingress description # Ingress description
apiVersion: networking.k8s.io/v1beta1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: texservice-ingress name: texservice-ingress
@ -62,15 +62,21 @@ spec:
- host: texservice.k3s.semapp.lan - host: texservice.k3s.semapp.lan
http: http:
paths: paths:
- path: / - backend:
backend: service:
serviceName: texservice name: texservice
servicePort: 5010 port:
rules: number: 5010
path: /
pathType: ImplementationSpecific
- host: texservice.semapp.lan - host: texservice.semapp.lan
http: http:
paths: paths:
- path: / - backend:
backend: service:
serviceName: texservice name: texservice
servicePort: 5010 port:
number: 5010
path: /
pathType: ImplementationSpecific

Loading…
Cancel
Save