1apiVersion: v1 2kind: Service 3metadata: 4 name: mysql 5 labels: 6 app: mysql 7spec: 8 ports: 9 - port: 3306 10 selector: 11 app: mysql 12