apiVersion: v1
kind: Service
metadata:
  namespace: ywc
  name: webservice
  annotations:
    prometheus.io/port: "8080"
    prometheus.io/scrape: "true"
spec:
  selector:
    app: webservice
  ports:
  - protocol: TCP
    port: 80
    targetPort: 8080