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.mongo.yaml Normal file
View File

@@ -0,0 +1,23 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: cnd2025-mongo
labels:
app: cnd2025-mongo
spec:
replicas: 1
selector:
matchLabels:
app: cnd2025-mongo
template:
metadata:
labels:
app: cnd2025-mongo
spec:
containers:
- name: mongo
image: docker.io/library/mongo:8.0
ports:
- name: mongo
containerPort: 27017