apiVersion: v1
kind: Service
metadata:
  labels:
    app: cockroachdb
  name: cockroachdb-public
spec:
  ports:
  - name: grpc
    port: 26257
    targetPort: 26257
  - name: http
    port: 8080
    targetPort: 8080
  selector:
    app: cockroachdb
