Actualizar workloads/nginx/nginx-resources.yaml

This commit is contained in:
2026-06-21 08:19:45 +00:00
parent 2b63b103da
commit 08d297c366
+3 -2
View File
@@ -34,6 +34,7 @@ spec:
port: 80 port: 80
targetPort: 80 targetPort: 80
---
# 3. El Ingress (Versión a prueba de fallos) # 3. El Ingress (Versión a prueba de fallos)
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
@@ -43,7 +44,7 @@ metadata:
# 🔴 Hemos quitado todas las annotations para ver si el clúster lo toma por defecto # 🔴 Hemos quitado todas las annotations para ver si el clúster lo toma por defecto
spec: spec:
rules: rules:
- host: app.cruzcloud.net - host: nginx.cruzcloud.net
http: http:
paths: paths:
- path: / - path: /
@@ -52,4 +53,4 @@ spec:
service: service:
name: nginx-service name: nginx-service
port: port:
number: 80 number: 80