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