This commit is contained in:
ivan 2026-05-04 20:39:08 +07:00
parent 5ed5f12cc5
commit be9442c533
2 changed files with 15 additions and 2 deletions

View File

@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: backend-service
name: backend-svc
namespace: eav
spec:
type: ClusterIP
@ -10,6 +10,6 @@ spec:
app: backend
ports:
- name: http
port: 8000
port: 80
targetPort: 8000
protocol: TCP

View File

@ -229,6 +229,19 @@ spec:
rewrite: /
service: frontend-svc.control-interface.svc.cluster.local
port: 80
eav-api:
name: eav-api-virt-service
namespace: gateway
hosts:
- sarex.contour.infra.sarex.tech
gateways:
- gateway/platform-gateway
routes:
- path:
prefix: /eav/api/
rewrite: /api/
service: backend-svc.eav.svc.cluster.local
port: 80
documentations-frontend:
name: documentations-frontend-virt-service
namespace: gateway