# k8s_examples_pxc-cluster-service.yaml
apiVersion: v1
kind: Service
metadata:
  name: pxc-cluster
  labels:
    unit: pxc-cluster
spec:
  ports:
    - port: 3306
      name: mysql
  selector:
    unit: pxc-cluster