apiVersion: v1
kind: Service
metadata:
  name: api-svc
  labels:
    app: api-svc
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "80"
spec:
  selector:
    app: api
  type: NodePort
  ports:
  - port: 80
    targetPort: 80