apiVersion: v1beta3
kind: ReplicationController
metadata:
  labels:
    db: rethinkdb
  name: rethinkdb-rc-1.16.0
  namespace: rethinkdb
spec:
  replicas: 1
  selector:
    db: rethinkdb
    role: replicas
  template:
    metadata:
      labels:
        db: rethinkdb
        role: replicas
    spec:
      containers:
      - image: antmanler/rethinkdb:1.16.0
        name: rethinkdb
        ports:
        - containerPort: 8080
          name: admin-port
        - containerPort: 28015
          name: driver-port
        - containerPort: 29015
          name: cluster-port
        volumeMounts:
        - mountPath: /data/rethinkdb_data
          name: rethinkdb-storage
      volumes:
      - name: rethinkdb-storage
        emptyDir: {}
