apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: mongodb
  name: mongodb
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mongodb
  template:
    metadata:
      labels:
        app: mongodb
    spec:
      containers:
      - image: robotshop/rs-mongodb:0.2.2
        name: mongodb
        ports:
        - name: mongodb-port
          containerPort: 27017
