Add K8s deployment files, restructure to backend/frontend

This commit is contained in:
Agent
2026-03-20 05:12:22 +00:00
parent cea86e48a7
commit f70ba958c7
8 changed files with 371 additions and 0 deletions

13
k8s/frontend/service.yaml Normal file
View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: todo-frontend
spec:
type: NodePort
selector:
app: todo-frontend
ports:
- port: 80
targetPort: 80
protocol: TCP
nodePort: 30080