Actualizar workloads/nginx/nginx-resources.yaml

This commit is contained in:
2026-06-21 21:41:44 +00:00
parent 8d101cd29c
commit 74b9750364
+4 -5
View File
@@ -1,4 +1,3 @@
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
@@ -27,10 +26,12 @@ metadata:
name: nginx-service name: nginx-service
namespace: nginx-web namespace: nginx-web
spec: spec:
type: ClusterIP
selector: selector:
app: nginx app: nginx
ports: ports:
- protocol: TCP - name: http
protocol: TCP
port: 80 port: 80
targetPort: 80 targetPort: 80
@@ -40,10 +41,8 @@ kind: Ingress
metadata: metadata:
name: nginx-ingress name: nginx-ingress
namespace: nginx-web namespace: nginx-web
annotations:
kubernetes.io/ingress.class: nginx
spec: spec:
ingressClassName: nginx ingressClassName: traefik
rules: rules:
- host: app.cruzcloud.net - host: app.cruzcloud.net
http: http: