Feat: add k8s(kustomize) support

This commit is contained in:
2025-04-18 23:18:31 +08:00
parent 13ad4d7439
commit d39349724a
9 changed files with 165 additions and 0 deletions

23
k8s/deploy.frontend.yaml Normal file
View File

@@ -0,0 +1,23 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: cnd2025-frontend
labels:
app: cnd2025-frontend
spec:
replicas: 1
selector:
matchLabels:
app: cnd2025-frontend
template:
metadata:
labels:
app: cnd2025-frontend
spec:
containers:
- name: frontend
image: gitea.konchin.com/ytshih/cnd2025-hw3/frontend:latest
ports:
- name: http
containerPort: 80