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

24
k8s/ingress.yaml Normal file
View File

@@ -0,0 +1,24 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: cnd2025
name: cnd2025
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: cnd2025-frontend
port:
number: 80
- path: /api
pathType: Prefix
backend:
service:
name: cnd2025-backend
port:
number: 80