apiVersion: v1
kind: Service
metadata:
  name: cookieshop-db
  labels:
    app: cookieshop
    role: db
spec:
  ports:
  - protocol: TCP
    port: 3306
  selector:
    app: cookieshop