From eca835835286dcbf26634ac4bd90f433c8620712 Mon Sep 17 00:00:00 2001 From: zvoneC Date: Tue, 31 Mar 2026 09:49:39 +0000 Subject: [PATCH] Update k8s/moj-servis/service.yaml --- k8s/moj-servis/service.yaml | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/k8s/moj-servis/service.yaml b/k8s/moj-servis/service.yaml index 6fe7730..a928454 100644 --- a/k8s/moj-servis/service.yaml +++ b/k8s/moj-servis/service.yaml @@ -1,26 +1,13 @@ - - apiVersion: v1 - - kind: Service - - metadata: - +apiVersion: v1 +kind: Service +metadata: name: moj-servis-svc - namespace: student-zvoneC - - spec: - +spec: selector: - - app: moj-servis - + app: moj-servis ports: - - port: 80 - - targetPort: 8000 - - protocol: TCP - - type: NodePort + targetPort: 8000 + protocol: TCP + type: NodePort \ No newline at end of file