kubernetes/test/e2e/testing-manifests/ingress/neg/svc.yaml

apiVersion: v1
kind: Service
metadata:
  name: hostname
  annotations:
    cloud.google.com/neg: '{"ingress":true}'
spec:
  ports:
  - port: 80
    protocol: TCP
    targetPort: 9376
  selector:
    run: hostname
  sessionAffinity: None
  type: NodePort