mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
This also enables built-in backup, so the caveat about starting new pods no longer applies.
23 lines
346 B
YAML
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
|
|
|