apiVersion: v1
kind: ReplicationController
metadata:
  name: tidb-server
  namespace: tidb
  labels:
    apiserver: "true"
spec:
  replicas: 1
  selector:
    apiserver: "true"
  template:
    metadata:
      labels:
        apiserver: "true"
    spec:
      serviceAccountName: tidb-apiserver
      containers:
      - name: tidb-server
        image: "hub.pingcap.net/yinliang/pingcap/tidb-apiserver"
        imagePullPolicy: Always
