diff --git a/k8s/service.yaml b/k8s/service.yaml new file mode 100644 index 0000000..da359cf --- /dev/null +++ b/k8s/service.yaml @@ -0,0 +1,24 @@ +# ============================================================================= +# Service - node-bugado +# ============================================================================= +# +# Service ClusterIP para expor a aplicação internamente. +# Use com Ingress para acesso externo. +# +# ============================================================================= + +apiVersion: v1 +kind: Service +metadata: + name: node-bugado + labels: + app: node-bugado +spec: + type: ClusterIP + selector: + app: node-bugado + ports: + - name: http + port: 80 + targetPort: 3000 + protocol: TCP