apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: rethinkdb
spec:
  selector:
    matchLabels:
      app: rethinkdb
  template:
    metadata:
      labels:
        app: rethinkdb
    spec:
      containers:
      - name: container
        image: fanjiankong-bj.tencentcloudcr.com/apparate/rethinkdb:latest-apparate
        readinessProbe:
          httpGet:
            path: /
            port: 8080
          initialDelaySeconds: 0
          periodSeconds: 1
      terminationGracePeriodSeconds: 5
      nodeSelector:
        cloud.tencent.com/apparate: "true"
