Browse Source

Pongo puerto en 8080

Celestino Rey 10 months ago
parent
commit
01b21a0a45
2 changed files with 4 additions and 4 deletions
  1. 3 3
      K8S/finanzas-deployment.yaml
  2. 1 1
      K8S/finanzas-ingress.yaml

+ 3 - 3
K8S/finanzas-deployment.yaml

@@ -6,10 +6,10 @@ metadata:
 spec:
   type: NodePort
   ports:
-    - name: "8000"
-      port: 8000
+    - name: "8080"
+      port: 8080
       nodePort: 30346
-      targetPort: 8000
+      targetPort: 8080
   selector:
     app: finanzas
 ---

+ 1 - 1
K8S/finanzas-ingress.yaml

@@ -23,7 +23,7 @@ spec:
     service:
       name: finanzas
       port:
-        number: 8000
+        number: 8080
   ingressClassName: nginx
   rules:
     - host: finanzas.rancher.reymota.lab