apiVersion: v1
kind: Service
metadata:
  name: nginx
  labels:
    tier: backend
  annotations:
    nginx/ann: "yes"
spec:
  selector:
    app: frontend
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
