# k8s_examples_driver-service.yaml
apiVersion: v1
kind: Service
metadata:
  labels:
    db: rethinkdb
  name: rethinkdb-driver
spec:
  ports:
    - port: 28015
      targetPort: 28015
  selector:
    db: rethinkdb