apiVersion: v1
kind: Service
metadata:
  name: dns-mengxin-pink-clusterip
  namespace: web
  labels:
    app: dns-mengxin-pink
spec:
  selector:
    pod: dns-mengxin-pink
  type: ClusterIP
  ports:
    - name: http
      port: 80
      targetPort: 80
    - name: dns-tcp
      port: 53
      targetPort: 53
      protocol: TCP
    - name: dns-udp
      port: 53
      targetPort: 53
      protocol: UDP
