You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
478 B
YAML
24 lines
478 B
YAML
2 years ago
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: mongodb-deployment
|
||
|
labels:
|
||
|
app_name: collecte
|
||
|
app_kind: mongodb-deployment
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app_name: collecte
|
||
|
app_kind: mongodb_database
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app_name: collecte
|
||
|
app_kind: mongodb_database
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: mongodb
|
||
|
image: mongo:4.2.5-bionic
|
||
|
ports:
|
||
|
- containerPort: 27017
|