github.com/replicatedhq/ship@v0.55.0/integration/init/cockroach/expected/base/Service-cockroachdb-public.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 # This service is meant to be used by clients of the database. It exposes a ClusterIP that will 5 # automatically load balance connections to the different database pods. 6 name: cockroachdb-public 7 labels: 8 app: cockroachdb 9 spec: 10 ports: 11 # The main port, served by gRPC, serves Postgres-flavor SQL, internode 12 # traffic and the cli. 13 - port: 26257 14 targetPort: 26257 15 name: grpc 16 # The secondary port serves the UI as well as health and debug endpoints. 17 - port: 8080 18 targetPort: 8080 19 name: http 20 selector: 21 app: cockroachdb