kind: Service apiVersion: v1 metadata: name: mysql namespace: abp spec: type: NodePort selector: app: mysql ports: - protocol: TCP port: 3306 targetPort: 3306