apiVersion: v1
kind: Service
metadata:
  name: target-svc
spec:
  ports:
  - port: 80
    targetPort: 80
    protocol: TCP
    name: http
  selector:
    app: target