This commit is contained in:
ivan 2026-05-12 15:35:00 +05:00
parent ad0f6ed042
commit d20e616ac6
2 changed files with 15 additions and 2 deletions

View File

@ -2,13 +2,13 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: backend-service name: backend-svc
namespace: mapper namespace: mapper
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
app: backend app: backend
ports: ports:
- port: 8000 - port: 80
targetPort: 8000 targetPort: 8000
protocol: TCP protocol: TCP

View File

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