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

View File

@ -229,6 +229,19 @@ spec:
rewrite: / rewrite: /
service: frontend-svc.control-interface.svc.cluster.local service: frontend-svc.control-interface.svc.cluster.local
port: 80 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: documentations-frontend:
name: documentations-frontend-virt-service name: documentations-frontend-virt-service
namespace: gateway namespace: gateway