apiVersion: v1
kind: Service
metadata:
  name: popeye
  labels:
    app.kubernetes.io/name: popeye
    app.kubernetes.io/part-of: popeye
spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: 8080
    name: http
  selector:
    app.kubernetes.io/name: popeye
    app.kubernetes.io/part-of: popeye
  type: ClusterIP
