apiVersion: v1
kind: Service
metadata:
  name: echoheaders-lb-internal
  namespace: simple-internal
  labels:
    app: echoheaders
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-access-log-enabled: "true"
    service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval: "5"
    service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name: "ccm-examples"
    service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix: "logs/lb"
    service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0

spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: 8080
  selector:
    app: echoheaders
  type: LoadBalancer

