mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 08:20:23 +00:00
28 lines
588 B
YAML
28 lines
588 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
labels:
|
|
name: mongo
|
|
name: mongo-controller
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: mongo
|
|
spec:
|
|
containers:
|
|
- image: mongo
|
|
name: mongo
|
|
ports:
|
|
- name: mongo
|
|
containerPort: 27017
|
|
hostPort: 27017
|
|
volumeMounts:
|
|
- name: mongo-persistent-storage
|
|
mountPath: /data/db
|
|
volumes:
|
|
- name: mongo-persistent-storage
|
|
gcePersistentDisk:
|
|
pdName: mongo-disk
|
|
fsType: ext4 |