apiVersion: v1
kind: Service
metadata:
  name: mysql-master
  labels:
    app: mysql
spec:
  type: LoadBalancer
  externalIPs:
  - 34.72.151.187
  externalTrafficPolicy: Local
  selector:
    statefulset.kubernetes.io/pod-name: mysql-0
  ports:
  - protocol: TCP
    port: 3306
    targetPort: 3306
    nodePort: 30389
