Files
trunk-server/mongo-deployment.yaml
Luke Berndt b4f6cd70d9 lots of yaml
2024-06-29 22:15:50 -04:00

32 lines
658 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: mongo
name: mongo
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: mongo
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: mongo
spec:
containers:
- image: mongo:-
name: mongo
ports:
- containerPort: 27017
protocol: TCP
restartPolicy: Always