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

15
k8s/svc.mongo.yaml Normal file
View File

@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: Service
metadata:
name: cnd2025-mongo
labels:
app: cnd2025-mongo
spec:
type: ClusterIP
selector:
app: cnd2025-mongo
ports:
- name: mongo
port: 27017
targetPort: 27017