diff --git a/k8s/api-service.yaml b/k8s/api-service.yaml index e69de29..2eabf66 100644 --- a/k8s/api-service.yaml +++ b/k8s/api-service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 + +kind: Service + +metadata: + name: telefonkonyv-api + namespace: szakdolgozat + +spec: + type: NodePort + selector: + app: telefonkonyv-api + ports: + - port: 3000 + targetPort: 3000 + nodePort: 30080 \ No newline at end of file