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