apiVersion: v1
kind: Service
metadata:
  name: mysql-cluster-ip-service
  labels:
    app: db
spec:
  ports:
  - port: 3306
    targetPort: 3306
    protocol: TCP
    name: mysql
  selector:
    app: db
  type: ClusterIP