kind: Service
apiVersion: v1
metadata:
  name: pop-puller-01
  namespace: pop
  annotations:
    # AWS to get X-Forwarded-For headers and other things
    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
    service.beta.kubernetes.io/aws-load-balancer-internal: ‘0.0.0.0/0’
  labels:
    serviceShortName: cppull
spec:
  type: LoadBalancer
#  sessionAffinity: ClientIP
  ports:
    - port: 80
      targetPort: 8080
      name: service
    - port: 81
      targetPort: 8081
      name: admin
  selector:
    clusterTitle: pop-puller-01
