Feat: add k8s(kustomize) support
This commit is contained in:
23
k8s/deploy.mongo.yaml
Normal file
23
k8s/deploy.mongo.yaml
Normal 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
|
||||
Reference in New Issue
Block a user