ceph-csi/vendor/k8s.io/kubernetes/examples/mysql-cinder-pd/mysql-service.yaml

13 lines
274 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Service
metadata:
labels:
name: mysql
name: mysql
spec:
ports:
# the port that this service should serve on
- port: 3306
# label keys and values that must match in order to receive traffic for this service
selector:
name: mysql