apiVersion: v1
kind: Template
metadata:
  name: "mysql-service"
objects:
  - apiVersion: v1
    kind: Service
    metadata:
      name: mysql
    spec:
      selector:
        service: mysql
      ports:
        - name: "mysql"
          port: 3306
          targetPort: 3306
