apiVersion: v1
kind: Service
metadata:
  annotations:
    prometheus.io/path: _status/vars
    prometheus.io/port: "8080"
    prometheus.io/scrape: "true"
    service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  labels:
    app.kubernetes.io/component: cockroachdb
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: cockroachdb
    helm.sh/chart: cockroachdb-7.0.0
  name: RELEASE-NAME-cockroachdb
  namespace: default
spec:
  clusterIP: None
  ports:
  - name: grpc
    port: 26257
    targetPort: grpc
  - name: http
    port: 8080
    targetPort: http
  publishNotReadyAddresses: true
  selector:
    app.kubernetes.io/component: cockroachdb
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/name: cockroachdb
