Files
kubernetes/examples/vitess/vtctld-service.yaml
Anthony Yeh ec99cc2865 examples/vitess: Update for Vitess v2.0.0-alpha5
This also enables built-in backup, so the caveat about starting new pods
no longer applies.
2015-10-27 15:16:32 -07:00

23 lines
346 B
YAML

kind: Service
apiVersion: v1
metadata:
name: vtctld
labels:
component: vtctld
app: vitess
spec:
ports:
- port: 15000
name: web
targetPort: 15000
nodePort: 30000
- port: 15001
name: grpc
targetPort: 15001
nodePort: 30001
selector:
component: vtctld
app: vitess
type: NodePort