Añadir workloads/ecommerce/frontend.yaml

This commit is contained in:
2026-06-25 04:10:34 +00:00
parent 7bc3da914e
commit 490a8c995b
+31
View File
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-deploy
spec:
replicas: 1
selector:
matchLabels:
app: frontend
template:
metadata:
labels:
app: frontend
spec:
containers:
- name: web
image: nginx:alpine # 🟢 Azure DevOps cambiará esto automáticamente en el futuro
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: frontend-svc
spec:
selector:
app: frontend
ports:
- protocol: TCP
port: 80
targetPort: 80